Docs
Packages
GitHub
Axial.WebSocket
Axial
Axial.Process
Axial.HttpClient
Axial.FileSystem
Axial.Console
Axial.Configuration
Axial.WebSocket
Axial.Hosting
Axial.ElmishFlows
Axial.Telemetry
Axial.Guardrails
Packages
0.12.0
0.16.0
0.15.0
0.14.1
0.14.0
0.13.0
0.12.0
0.11.3
0.11.2
0.11.1
0.11.0
0.10.0
0.9.3
0.9.2
0.9.1
0.9.0
0.8.0
0.7.1
0.7.0
light
dark
Axial.WebSocket
WebSocketSession
Type
Package
Axial.WebSocket
A session owns its connection until disposed or released by the owning scope.
Specification
Kind
Type
Members
3
Examples
0
Close
Signature
this.Close
Receive
Signature
this.Receive
Send
Signature
this.Send
Summary
Name
Signature
Synopsis
Operations
Close
this.Close
No description available.
Receive
this.Receive
No description available.
Send
this.Send
No description available.
Operations
kind:member
Close
this.Close
Member
Parameters
Name
Type
Description
code
int
reason
string
Returns
Flow<
unit
, WebSocketError,
unit
>
kind:member
Receive
this.Receive
Member
Returns
Flow<
unit
, WebSocketError, WebSocketMessage
option
>
kind:member
Send
this.Send
Member
Parameters
Name
Type
Description
message
WebSocketMessage
Returns
Flow<
unit
, WebSocketError,
unit
>
Axial.WebSocket
Filter
Overview
Home
API Reference
Docs
WebSocket
API Reference
Axial.WebSocket
WebSocket
Operations
connect
subprotocol
maxMessageBytes
tls
connectWith
onBytes
invoker
service
openSession
withConnection
send
sendText
sendBinary
messages
close
live
BytesDirection
Union cases
IsSent
IsReceived
Sent
Received
ConnectContext
Representation
Host
Port
IHasWebSocket
Operations
WebSocket
IWebSocket
Operations
Connect
TestWebSocket
Operations
``.ctor``
Sent
TlsVersion
Union cases
IsTls13
IsDefault
IsTls12
Default
Tls12
Tls13
WebSocketError
Union cases
IsClosed
IsConnectionLost
IsConnectFailed
IsProtocolError
ConnectFailed
ConnectionLost
ProtocolError
Closed
WebSocketMessage
Union cases
IsText
IsBinary
Text
Binary
WebSocketOptions
Representation
Url
Subprotocols
MaxMessageBytes
Tls
Connect
OnBytes
Invoker
WebSocketSession
Operations
Close
Receive
Send
WebSocketTls
Representation
ClientCertificate
TrustAnchors
MinimumVersion