Method | Description | |
---|---|---|
Connect ( string host, int port ) : |
||
Dispose ( ) : void |
TODO: good practices on disconnect
|
|
HumbleClient ( Framing framing = Framing.LengthPrefixed, string delimiter = MessageFraming.DefaultDelimiter, int receiveTimeOut = -1, int sendTimeOut = -1 ) : System.Net.Sockets |
Create a instance of HumbleClient
|
|
Receive ( ) : string | ||
Send ( string data ) : |
Method | Description | |
---|---|---|
CreateStream ( ) : void |
public Connect ( string host, int port ) : |
||
host | string | |
port | int | |
return |
public HumbleClient ( Framing framing = Framing.LengthPrefixed, string delimiter = MessageFraming.DefaultDelimiter, int receiveTimeOut = -1, int sendTimeOut = -1 ) : System.Net.Sockets | ||
framing | Framing | Type of framing |
delimiter | string | Demiliter character if framing is Framing.LengthPrefixed |
receiveTimeOut | int | Receive timeout in miliseconds |
sendTimeOut | int | Send timeout in miliseconds |
return | System.Net.Sockets |