Table of Contents

Struct Header

Namespace
Xabbo.Messages
Assembly
Xabbo.Common.dll

Specifies a direction and header value.

public readonly record struct Header : IEquatable<Header>
Implements
Inherited Members

Constructors

Header(Direction, short)

Specifies a direction and header value.

public Header(Direction Direction, short Value)

Parameters

Direction Direction
Value short

Fields

All

Represents a header that matches all messages.

public static readonly Header All

Field Value

Header

Remarks

Unknown

Represents an unknown header.

public static readonly Header Unknown

Field Value

Header

Properties

Direction

public Direction Direction { get; init; }

Property Value

Direction

Value

public short Value { get; init; }

Property Value

short

Operators

implicit operator Header((Direction direction, short value))

public static implicit operator Header((Direction direction, short value) x)

Parameters

x (Direction direction, short value)

Returns

Header

implicit operator ReadOnlySpan<Header>(in Header)

public static implicit operator ReadOnlySpan<Header>(in Header header)

Parameters

header Header

Returns

ReadOnlySpan<Header>