httpupgrade

package
v5.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_transport_internet_httpupgrade_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Config

type Config struct {
	Path                string    `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Host                string    `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	MaxEarlyData        int32     `protobuf:"varint,3,opt,name=max_early_data,json=maxEarlyData,proto3" json:"max_early_data,omitempty"`
	EarlyDataHeaderName string    `protobuf:"bytes,4,opt,name=early_data_header_name,json=earlyDataHeaderName,proto3" json:"early_data_header_name,omitempty"`
	Header              []*Header `protobuf:"bytes,5,rep,name=header,proto3" json:"header,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

func (*Config) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetEarlyDataHeaderName added in v5.24.0

func (x *Config) GetEarlyDataHeaderName() string

func (*Config) GetHeader added in v5.24.0

func (x *Config) GetHeader() []*Header

func (*Config) GetHost

func (x *Config) GetHost() string

func (*Config) GetMaxEarlyData added in v5.24.0

func (x *Config) GetMaxEarlyData() int32

func (*Config) GetNormalizedPath added in v5.12.1

func (c *Config) GetNormalizedPath() string

func (*Config) GetPath

func (x *Config) GetPath() string

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string
type Header struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Header) Descriptor deprecated added in v5.24.0

func (*Header) Descriptor() ([]byte, []int)

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetKey added in v5.24.0

func (x *Header) GetKey() string

func (*Header) GetValue added in v5.24.0

func (x *Header) GetValue() string

func (*Header) ProtoMessage added in v5.24.0

func (*Header) ProtoMessage()

func (*Header) ProtoReflect added in v5.24.0

func (x *Header) ProtoReflect() protoreflect.Message

func (*Header) Reset added in v5.24.0

func (x *Header) Reset()

func (*Header) String added in v5.24.0

func (x *Header) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL