Record: ClientConfiguration

Configurations for the WebSocket client. Following fields are inherited from the other configuration records in addition to the Client specific configs.

callbackService - Copied from CommonClientConfiguration
subProtocols - Copied from CommonClientConfiguration
customHeaders - Copied from CommonClientConfiguration
idleTimeout - Copied from CommonClientConfiguration
secureSocket - Copied from CommonClientConfiguration
maxFrameSize - Copied from CommonClientConfiguration
webSocketCompressionEnabled - Copied from CommonClientConfiguration
handShakeTimeout - Copied from CommonClientConfiguration
cookies - Copied from CommonClientConfiguration
Closed record

Fields

  • Fields Included from *CommonClientConfiguration
    • subProtocols string[]
    • customHeaders map<string>
    • readTimeout decimal
    • secureSocket ClientSecureSocket
    • maxFrameSize int
    • webSocketCompressionEnabled boolean
    • handShakeTimeout decimal
    • cookies ballerina/http:1.1.0-alpha8:Cookie[]
    • auth ballerina/websocket:1.2.0-alpha8:CredentialsConfig|ballerina/websocket:1.2.0-alpha8:BearerTokenConfig|ballerina/websocket:1.2.0-alpha8:JwtIssuerConfig|ballerina/websocket:1.2.0-alpha8:OAuth2ClientCredentialsGrantConfig|ballerina/websocket:1.2.0-alpha8:OAuth2PasswordGrantConfig|ballerina/websocket:1.2.0-alpha8:OAuth2RefreshTokenGrantConfig
    • pingPongHandler PingPongService