Share via


HttpSysOptions.TlsClientHelloBytesCallback Property

Definition

A callback to be invoked to get the TLS client hello bytes. Null by default.

public Action<Microsoft.AspNetCore.Http.Features.IFeatureCollection,ReadOnlySpan<byte>>? TlsClientHelloBytesCallback { get; set; }
member this.TlsClientHelloBytesCallback : Action<Microsoft.AspNetCore.Http.Features.IFeatureCollection, ReadOnlySpan<byte>> with get, set
Public Property TlsClientHelloBytesCallback As Action(Of IFeatureCollection, ReadOnlySpan(Of Byte))

Property Value

Remarks

Works only if HTTP_SERVICE_CONFIG_SSL_FLAG_ENABLE_CACHE_CLIENT_HELLO flag is set on http.sys service configuration. See https://learn.microsoft.com/windows/win32/api/http/nf-http-httpsetserviceconfiguration and https://learn.microsoft.com/windows/win32/api/http/ne-http-http_service_config_id

Applies to