Share via


IClientWebSocketOptions Interface

Definition

Client Websocket Options interface.

public interface IClientWebSocketOptions
type IClientWebSocketOptions = interface
Public Interface IClientWebSocketOptions

Properties

KeepAliveInterval

Gets or sets the WebSocket protocol keep-alive interval.

Proxy

Gets or sets the proxy for WebSocket requests.

Methods

AddSubProtocol(String)

Adds a sub-protocol to be negotiated during the WebSocket connection handshake.

SetBuffer(Int32, Int32)

Sets the client buffer parameters.

SetRequestHeader(String, String)

Creates a HTTP request header and its value.

Applies to