Méthode | Description | |
---|---|---|
AddCredential ( |
||
RemoveCredential ( |
||
Start ( ) : void | ||
Stop ( ) : void | ||
WebServer ( |
||
WriteAccessDenied ( Socket client ) : void | ||
WriteOk ( 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 |
Méthode | Description | |
---|---|---|
HandleConnection ( object o ) : void | ||
HandleRequest ( Socket client ) : bool | ||
IsValidAuth ( string user, string pass ) : bool | ||
ServerLoop ( ) : void |
public AddCredential ( |
||
cred | ||
Résultat | void |
public RemoveCredential ( |
||
cred | ||
Résultat | void |
public WebServer ( |
||
port | ||
handler | WebHandler | |
Résultat | System |
public WriteAccessDenied ( Socket client ) : void | ||
client | Socket | |
Résultat | void |
public WriteResponse ( Socket client, |
||
client | Socket | |
node | ||
Résultat | void |
public WriteResponse ( Socket client, HttpStatusCode code, byte body ) : void | ||
client | Socket | |
code | HttpStatusCode | |
body | byte | |
Résultat | void |
public WriteResponse ( Socket client, HttpStatusCode code, string body ) : void | ||
client | Socket | |
code | HttpStatusCode | |
body | string | |
Résultat | void |
public WriteResponseFile ( Socket client, string file, long offset ) : void | ||
client | Socket | |
file | string | |
offset | long | |
Résultat | void |
public WriteResponseStream ( Socket client, Stream response, long len ) : void | ||
client | Socket | |
response | Stream | |
len | long | |
Résultat | void |
public WriteResponseStream ( Socket client, Stream response, long len, long offset ) : void | ||
client | Socket | |
response | Stream | |
len | long | |
offset | long | |
Résultat | void |