Method | Description | |
---|---|---|
Clear ( ) : void |
Reset decoder state so that we can decode a new message
|
|
HttpMessageDecoder ( ) : System |
Initializes a new instance of the HttpMessageDecoder class.
|
|
HttpMessageDecoder ( IMessageSerializer messageSerializer ) : System |
Initializes a new instance of the HttpMessageDecoder class.
|
|
ProcessReadBytes ( ISocketBuffer buffer ) : void |
We've received bytes from the socket. Build a message out of them.
|
Method | Description | |
---|---|---|
BytesProcessed ( int startOffset, int currentOffset ) : int | ||
OnHeader ( string name, string value ) : void | ||
OnHeaderParsed ( ) : void | ||
OnRequestLine ( string part1, string part2, string part3 ) : void | ||
TriggerMessageReceived ( Griffin.Net.Protocols.Http.HttpMessage message ) : void |
public HttpMessageDecoder ( IMessageSerializer messageSerializer ) : System | ||
messageSerializer | IMessageSerializer | The message serializer. |
return | System |
public ProcessReadBytes ( ISocketBuffer buffer ) : void | ||
buffer | ISocketBuffer | Buffer |
return | void |