public static CreateFromConnectedStream ( |
||
stream | The connected Stream. | |
isServer | bool | true if this is the server-side of the connection; false if this is the client-side of the connection. |
subprotocol | string | The agreed upon subprotocol for the connection. |
keepAliveInterval | TimeSpan | The interval to use for keep-alive pings. |
receiveBufferSize | int | The buffer size to use for received data. |
receiveBuffer | ArraySegment |
Optional buffer to use for receives. |
return |