Method | Description | |
---|---|---|
AddCredential ( |
||
RemoveCredential ( |
||
Start ( ) : void | ||
Stop ( ) : void | ||
WebServer ( |
||
WriteAccessDenied ( Socket client ) : void | ||
WriteResponse ( Socket client, |
||
WriteResponse ( Socket client, HttpStatusCode code, byte body ) : void | ||
WriteResponse ( Socket client, HttpStatusCode code, string body ) : void | ||
WriteResponseFile ( Socket client, string file, long offset ) : void | ||
WriteResponseStream ( Socket client, Stream response, long len ) : void | ||
WriteResponseStream ( Socket client, Stream response, long len, long offset ) : void |
Method | Description | |
---|---|---|
HandleConnection ( object o ) : void | ||
HandleRequest ( Socket client ) : bool | ||
IsValidAuth ( string user, string pass ) : bool | ||
ServerLoop ( ) : void |
public AddCredential ( |
||
cred | ||
return | void |
public RemoveCredential ( |
||
cred | ||
return | void |
public WebServer ( |
||
port | ||
handler | WebHandler | |
return | System |
public WriteAccessDenied ( Socket client ) : void | ||
client | Socket | |
return | void |
public WriteResponse ( Socket client, |
||
client | Socket | |
node | ||
return | void |
public WriteResponse ( Socket client, HttpStatusCode code, byte body ) : void | ||
client | Socket | |
code | HttpStatusCode | |
body | byte | |
return | void |
public WriteResponse ( Socket client, HttpStatusCode code, string body ) : void | ||
client | Socket | |
code | HttpStatusCode | |
body | string | |
return | void |
public WriteResponseFile ( Socket client, string file, long offset ) : void | ||
client | Socket | |
file | string | |
offset | long | |
return | void |
public WriteResponseStream ( Socket client, Stream response, long len ) : void | ||
client | Socket | |
response | Stream | |
len | long | |
return | void |
public WriteResponseStream ( Socket client, Stream response, long len, long offset ) : void | ||
client | Socket | |
response | Stream | |
len | long | |
offset | long | |
return | void |