Struct StreamSniFilterResult
- Namespace
- VpnHood.Core.Filtering.DomainFiltering
- Assembly
- VpnHood.Core.Filtering.DomainFiltering.dll
Represents the domain filter's answer for a TCP connection, with the bytes read from its stream to find its name.
public readonly struct StreamSniFilterResult
- Inherited Members
Properties
Action
Gets the verdict for the connection.
public required FilterAction Action { get; init; }
Property Value
DomainName
Gets the connection's domain name, or null when none was found.
public required string? DomainName { get; init; }
Property Value
ReadData
Gets the bytes read from the stream, which the caller must send on before the rest of it; empty when nothing was read.
public required Memory<byte> ReadData { get; init; }