httpV2

package
v6.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_http_v2_http_proto protoreflect.FileDescriptor
View Source
var File_http_v2_request_proto protoreflect.FileDescriptor
View Source
var File_http_v2_response_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HttpHeader

type HttpHeader struct {
	Header map[string]*HttpHeaderValue `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HttpHeader) Descriptor deprecated

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

Deprecated: Use HttpHeader.ProtoReflect.Descriptor instead.

func (*HttpHeader) GetHeader

func (x *HttpHeader) GetHeader() map[string]*HttpHeaderValue

func (*HttpHeader) ProtoMessage

func (*HttpHeader) ProtoMessage()

func (*HttpHeader) ProtoReflect

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

func (*HttpHeader) Reset

func (x *HttpHeader) Reset()

func (*HttpHeader) String

func (x *HttpHeader) String() string

type HttpHeaderValue

type HttpHeaderValue struct {
	Values [][]byte `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpHeaderValue) Descriptor deprecated

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

Deprecated: Use HttpHeaderValue.ProtoReflect.Descriptor instead.

func (*HttpHeaderValue) GetValues

func (x *HttpHeaderValue) GetValues() [][]byte

func (*HttpHeaderValue) ProtoMessage

func (*HttpHeaderValue) ProtoMessage()

func (*HttpHeaderValue) ProtoReflect

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

func (*HttpHeaderValue) Reset

func (x *HttpHeaderValue) Reset()

func (*HttpHeaderValue) String

func (x *HttpHeaderValue) String() string

type HttpRequest

type HttpRequest struct {
	RemoteAddr string                      `protobuf:"bytes,1,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
	Protocol   string                      `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Method     string                      `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	Uri        string                      `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"`
	Header     map[string]*HttpHeaderValue `` /* 139-byte string literal not displayed */
	Cookies    map[string]*HttpHeaderValue `` /* 141-byte string literal not displayed */
	RawQuery   string                      `protobuf:"bytes,7,opt,name=raw_query,json=rawQuery,proto3" json:"raw_query,omitempty"`
	Parsed     bool                        `protobuf:"varint,8,opt,name=parsed,proto3" json:"parsed,omitempty"`
	Uploads    []byte                      `protobuf:"bytes,9,opt,name=uploads,proto3" json:"uploads,omitempty"`
	Attributes map[string]*HttpHeaderValue `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HttpRequest) Descriptor deprecated

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

Deprecated: Use HttpRequest.ProtoReflect.Descriptor instead.

func (*HttpRequest) GetAttributes

func (x *HttpRequest) GetAttributes() map[string]*HttpHeaderValue

func (*HttpRequest) GetCookies

func (x *HttpRequest) GetCookies() map[string]*HttpHeaderValue

func (*HttpRequest) GetHeader

func (x *HttpRequest) GetHeader() map[string]*HttpHeaderValue

func (*HttpRequest) GetMethod

func (x *HttpRequest) GetMethod() string

func (*HttpRequest) GetParsed

func (x *HttpRequest) GetParsed() bool

func (*HttpRequest) GetProtocol

func (x *HttpRequest) GetProtocol() string

func (*HttpRequest) GetRawQuery

func (x *HttpRequest) GetRawQuery() string

func (*HttpRequest) GetRemoteAddr

func (x *HttpRequest) GetRemoteAddr() string

func (*HttpRequest) GetUploads

func (x *HttpRequest) GetUploads() []byte

func (*HttpRequest) GetUri

func (x *HttpRequest) GetUri() string

func (*HttpRequest) ProtoMessage

func (*HttpRequest) ProtoMessage()

func (*HttpRequest) ProtoReflect

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

func (*HttpRequest) Reset

func (x *HttpRequest) Reset()

func (*HttpRequest) String

func (x *HttpRequest) String() string

type HttpResponse

type HttpResponse struct {
	Status  int64                       `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Headers map[string]*HttpHeaderValue `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HttpResponse) Descriptor deprecated

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

Deprecated: Use HttpResponse.ProtoReflect.Descriptor instead.

func (*HttpResponse) GetHeaders

func (x *HttpResponse) GetHeaders() map[string]*HttpHeaderValue

func (*HttpResponse) GetStatus

func (x *HttpResponse) GetStatus() int64

func (*HttpResponse) ProtoMessage

func (*HttpResponse) ProtoMessage()

func (*HttpResponse) ProtoReflect

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

func (*HttpResponse) Reset

func (x *HttpResponse) Reset()

func (*HttpResponse) String

func (x *HttpResponse) String() string

Jump to

Keyboard shortcuts

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