Chia sẻ qua


HttpsConnectionAdapterOptions.TlsClientHelloBytesCallback Property

Definition

A callback to be invoked to get the TLS client hello bytes. The client hello bytes are still wrapped in the record layer fragment. Null by default. If you want to store the bytes from the ReadOnlySequence<T>, copy them into a buffer that you control rather than keeping a reference to the ReadOnlySequence<T> or ReadOnlyMemory<T> instances.

public Action<Microsoft.AspNetCore.Connections.ConnectionContext,System.Buffers.ReadOnlySequence<byte>>? TlsClientHelloBytesCallback { get; set; }
member this.TlsClientHelloBytesCallback : Action<Microsoft.AspNetCore.Connections.ConnectionContext, System.Buffers.ReadOnlySequence<byte>> with get, set
Public Property TlsClientHelloBytesCallback As Action(Of ConnectionContext, ReadOnlySequence(Of Byte))

Property Value

Remarks

If a client hello spans multiple record fragments then this callback only gets the first fragment.

Applies to