Table of Contents

Class NatsWebSocketOpts

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

Options for ClientWebSocketOptions

public sealed record NatsWebSocketOpts : IEquatable<NatsWebSocketOpts>
Inheritance
NatsWebSocketOpts
Implements
Inherited Members

Fields

Default

Properties

ConfigureClientWebSocketOptions

An optional async callback handler for manipulation of ClientWebSocketOptions used for WebSocket connections. Implementors should use the passed CancellationToken for async operations called by this handler.

RequestHeaders

An optional dictionary of HTTP request headers to be sent with the WebSocket request.