Метод | Описание | |
---|---|---|
Clear ( ) : void |
Remove everything used for the last message
|
|
HttpMessageEncoder ( ) : System |
Initializes a new instance of the HttpMessageEncoder class.
|
|
OnSendCompleted ( int bytesTransferred ) : bool |
The previous IMessageEncoder.Send has just completed.
|
|
Prepare ( object message ) : void |
Are about to send a new message Can be used to prepare the next message. for instance serialize it etc. |
|
Send ( ISocketBuffer buffer ) : void |
Buffer structure used for socket send operations.
|
public OnSendCompleted ( int bytesTransferred ) : bool | ||
bytesTransferred | int | |
Результат | bool |
public Prepare ( object message ) : void | ||
message | object | Message to send |
Результат | void |
public Send ( ISocketBuffer buffer ) : void | ||
buffer | ISocketBuffer |
/// Do note that there are not buffer attached to the structure, you have to assign one yourself using
/// |
Результат | void |