C# Class CUDLR.Server

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: proletariatgames/CUDLR

Public Methods

Method Description
Awake ( ) : void
HandleRequest ( RequestContext context ) : void
ListenerCallback ( IAsyncResult result ) : void
OnApplicationPause ( bool paused ) : void
OnDestroy ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
Update ( ) : void

Private Methods

Method Description
FileHandler ( RequestContext context, bool download ) : void
FindFileType ( RequestContext context, bool download, string &path, string &type ) : void
HandleRequests ( ) : IEnumerator
RegisterFileHandlers ( ) : void
RegisterRoutes ( ) : void
WWWFileHandler ( RequestContext context, bool download ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

HandleRequest() public method

public HandleRequest ( RequestContext context ) : void
context RequestContext
return void

ListenerCallback() public method

public ListenerCallback ( IAsyncResult result ) : void
result IAsyncResult
return void

OnApplicationPause() public method

public OnApplicationPause ( bool paused ) : void
paused bool
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

Update() public method

public Update ( ) : void
return void