Method | Description | |
---|---|---|
GetAcceptWebSocketUpgradeResponse ( int statusCode, string statusDescription, string requestKey ) : byte[] | ||
GetRejectWebSocketUpgradeResponse ( int statusCode, string statusDescription ) : byte[] | ||
GetStatusAndHeaders ( int statusCode, string statusDescription, string contentType, long contentLength, int keepAlives, System.TimeSpan keepAliveTimeout, String>.IDictionary |
public static GetAcceptWebSocketUpgradeResponse ( int statusCode, string statusDescription, string requestKey ) : byte[] | ||
statusCode | int | |
statusDescription | string | |
requestKey | string | |
return | byte[] |
public static GetRejectWebSocketUpgradeResponse ( int statusCode, string statusDescription ) : byte[] | ||
statusCode | int | |
statusDescription | string | |
return | byte[] |
public static GetStatusAndHeaders ( int statusCode, string statusDescription, string contentType, long contentLength, int keepAlives, System.TimeSpan keepAliveTimeout, String>.IDictionary |
||
statusCode | int | |
statusDescription | string | |
contentType | string | |
contentLength | long | |
keepAlives | int | |
keepAliveTimeout | System.TimeSpan | |
headers | String>.IDictionary | |
return | byte[] |