C# Class WebSocketSharp.HandshakeResponse

Inheritance: HandshakeBase
Mostra file Open project: uken/websocket-sharp Class Usage Examples

Public Methods

Method Description
CreateCloseResponse ( HttpStatusCode code ) : HandshakeResponse
HandshakeResponse ( HttpStatusCode code ) : System
Parse ( string headerParts ) : HandshakeResponse
SetCookies ( WebSocketSharp.Net.CookieCollection cookies ) : void
ToString ( ) : string

Private Methods

Method Description
HandshakeResponse ( ) : System

Method Details

CreateCloseResponse() public static method

public static CreateCloseResponse ( HttpStatusCode code ) : HandshakeResponse
code HttpStatusCode
return HandshakeResponse

HandshakeResponse() public method

public HandshakeResponse ( HttpStatusCode code ) : System
code HttpStatusCode
return System

Parse() public static method

public static Parse ( string headerParts ) : HandshakeResponse
headerParts string
return HandshakeResponse

SetCookies() public method

public SetCookies ( WebSocketSharp.Net.CookieCollection cookies ) : void
cookies WebSocketSharp.Net.CookieCollection
return void

ToString() public method

public ToString ( ) : string
return string