Photon Server API

Classes | Enumerations | Functions
Photon.SocketServer.Net Namespace Reference

Classes

class  AsyncHttpRequest
 
class  HttpRequestQueue
 
class  HttpRequestQueueCounterWrapper
 we use this class to call external counters interface safely More...
 
interface  IHttpRequestQueueCounters
 
class  NullHttpRequestQueueCounters
 

Enumerations

enum  AsyncHttpRequestStatus {
  AsyncHttpRequestStatus.Created, AsyncHttpRequestStatus.Running, AsyncHttpRequestStatus.Completed, AsyncHttpRequestStatus.Faulted,
  AsyncHttpRequestStatus.Canceled
}
 
enum  HttpRequestQueueResultCode {
  HttpRequestQueueResultCode.Success, HttpRequestQueueResultCode.RequestTimeout, HttpRequestQueueResultCode.QueueTimeout, HttpRequestQueueResultCode.Offline,
  HttpRequestQueueResultCode.QueueFull, HttpRequestQueueResultCode.Error
}
 
enum  HttpRequestQueueState { HttpRequestQueueState.Running, HttpRequestQueueState.Connecting, HttpRequestQueueState.Reconnecting, HttpRequestQueueState.Offline }
 

Functions

delegate void HttpRequestQueueCallback (HttpRequestQueueResultCode result, AsyncHttpRequest request, object userState)
 

Enumeration Type Documentation

◆ AsyncHttpRequestStatus

Enumerator
Created 

The request has been initialized but has not yet been scheduled.

Running 

The request is running but has not yet completed.

Completed 

The request completed successfully.

Faulted 

The request completed due to an unhandled exception.

Canceled 

The request has been canceled.

◆ HttpRequestQueueResultCode

Enumerator
Success 
RequestTimeout 
QueueTimeout 
Offline 
QueueFull 
Error 

◆ HttpRequestQueueState

Enumerator
Running 
Connecting 
Reconnecting 
Offline 

Function Documentation

◆ HttpRequestQueueCallback()

delegate void Photon.SocketServer.Net.HttpRequestQueueCallback ( HttpRequestQueueResultCode  result,
AsyncHttpRequest  request,
object  userState 
)