Method | Description | |
---|---|---|
GetCommandBuffer ( string value ) : IList |
Gets the bytes representing the specified command. returned buffer can be used to streamline multiple writes into one Write on the Socket using the M:Enyim.Caching.Memcached.PooledSocket.Write(IList<ArraySegment<byte>>) The Nagle algorithm is disabled on the socket to speed things up, so it's recommended to convert a command into a buffer and use the M:Enyim.Caching.Memcached.PooledSocket.Write(IList<ArraySegment<byte>>) to send the command and the additional buffers in one transaction. |
|
GetCommandBuffer ( string value, IList |
||
ReadResponse ( PooledSocket socket ) : string |
Reads the response of the server.
|
Method | Description | |
---|---|---|
ReadLine ( PooledSocket socket ) : string |
Reads a line from the socket. A line is terninated by \r\n.
|
public static GetCommandBuffer ( string value ) : IList |
||
value | string | The command to be converted. |
return | IList |
public static GetCommandBuffer ( string value, IList |
||
value | string | |
list | IList |
|
return | IList |
public static ReadResponse ( PooledSocket socket ) : string | ||
socket | PooledSocket | |
return | string |