C# Class DotNetty.Codecs.Http.WebSockets.WebSocketServerHandshakerFactory

Afficher le fichier Open project: sekkit/Fenix Class Usage Examples

Méthodes publiques

Méthode Description
NewHandshaker ( IHttpRequest req ) : DotNetty.Codecs.Http.WebSockets.WebSocketServerHandshaker

Instances a new handshaker

SendUnsupportedVersionResponse ( IChannel channel ) : Task

Return that we need cannot not support the web socket version

WebSocketServerHandshakerFactory ( string webSocketUrl, string subprotocols, DotNetty.Codecs.Http.WebSockets.WebSocketDecoderConfig decoderConfig ) : System.Threading.Tasks

Constructor specifying the destination web socket location

WebSocketServerHandshakerFactory ( string webSocketUrl, string subprotocols, bool allowExtensions ) : System.Threading.Tasks

Constructor specifying the destination web socket location

WebSocketServerHandshakerFactory ( string webSocketUrl, string subprotocols, bool allowExtensions, int maxFramePayloadLength ) : System.Threading.Tasks

Constructor specifying the destination web socket location

WebSocketServerHandshakerFactory ( string webSocketUrl, string subprotocols, bool allowExtensions, int maxFramePayloadLength, bool allowMaskMismatch ) : System.Threading.Tasks

Constructor specifying the destination web socket location

Method Details

NewHandshaker() public méthode

Instances a new handshaker
public NewHandshaker ( IHttpRequest req ) : DotNetty.Codecs.Http.WebSockets.WebSocketServerHandshaker
req IHttpRequest
Résultat DotNetty.Codecs.Http.WebSockets.WebSocketServerHandshaker

SendUnsupportedVersionResponse() public static méthode

Return that we need cannot not support the web socket version
public static SendUnsupportedVersionResponse ( IChannel channel ) : Task
channel IChannel
Résultat Task

WebSocketServerHandshakerFactory() public méthode

Constructor specifying the destination web socket location
public WebSocketServerHandshakerFactory ( string webSocketUrl, string subprotocols, DotNetty.Codecs.Http.WebSockets.WebSocketDecoderConfig decoderConfig ) : System.Threading.Tasks
webSocketUrl string URL for web socket communications. e.g "ws://myhost.com/mypath". /// Subsequent web socket frames will be sent to this URL.
subprotocols string CSV of supported protocols. Null if sub protocols not supported.
decoderConfig DotNetty.Codecs.Http.WebSockets.WebSocketDecoderConfig Frames decoder options.
Résultat System.Threading.Tasks

WebSocketServerHandshakerFactory() public méthode

Constructor specifying the destination web socket location
public WebSocketServerHandshakerFactory ( string webSocketUrl, string subprotocols, bool allowExtensions ) : System.Threading.Tasks
webSocketUrl string URL for web socket communications. e.g "ws://myhost.com/mypath". /// Subsequent web socket frames will be sent to this URL.
subprotocols string CSV of supported protocols. Null if sub protocols not supported.
allowExtensions bool Allow extensions to be used in the reserved bits of the web socket frame
Résultat System.Threading.Tasks

WebSocketServerHandshakerFactory() public méthode

Constructor specifying the destination web socket location
public WebSocketServerHandshakerFactory ( string webSocketUrl, string subprotocols, bool allowExtensions, int maxFramePayloadLength ) : System.Threading.Tasks
webSocketUrl string URL for web socket communications. e.g "ws://myhost.com/mypath". /// Subsequent web socket frames will be sent to this URL.
subprotocols string CSV of supported protocols. Null if sub protocols not supported.
allowExtensions bool Allow extensions to be used in the reserved bits of the web socket frame
maxFramePayloadLength int Maximum allowable frame payload length. Setting this value to your application's /// requirement may reduce denial of service attacks using long data frames.
Résultat System.Threading.Tasks

WebSocketServerHandshakerFactory() public méthode

Constructor specifying the destination web socket location
public WebSocketServerHandshakerFactory ( string webSocketUrl, string subprotocols, bool allowExtensions, int maxFramePayloadLength, bool allowMaskMismatch ) : System.Threading.Tasks
webSocketUrl string URL for web socket communications. e.g "ws://myhost.com/mypath". /// Subsequent web socket frames will be sent to this URL.
subprotocols string CSV of supported protocols. Null if sub protocols not supported.
allowExtensions bool Allow extensions to be used in the reserved bits of the web socket frame
maxFramePayloadLength int Maximum allowable frame payload length. Setting this value to your application's /// requirement may reduce denial of service attacks using long data frames.
allowMaskMismatch bool When set to true, frames which are not masked properly according to the standard will still be /// accepted.
Résultat System.Threading.Tasks