Versions in this module Expand all Collapse all v1 v1.8.4 Aug 21, 2023 Changes in this version + const CommandPaddingContinue + const CommandPaddingDirect + const CommandPaddingEnd + const Version + var File_proxy_vless_encoding_addons_proto protoreflect.FileDescriptor + var Tls13CipherSuiteDic = map[uint16]string + func DecodeBodyAddons(reader io.Reader, request *protocol.RequestHeader, addons *Addons) buf.Reader + func EncodeBodyAddons(writer io.Writer, request *protocol.RequestHeader, addons *Addons) buf.Writer + func EncodeHeaderAddons(buffer *buf.Buffer, addons *Addons) error + func EncodeRequestHeader(writer io.Writer, request *protocol.RequestHeader, requestAddons *Addons) error + func EncodeResponseHeader(writer io.Writer, request *protocol.RequestHeader, responseAddons *Addons) error + func ReshapeMultiBuffer(ctx context.Context, buffer buf.MultiBuffer) buf.MultiBuffer + func XtlsFilterTls(buffer buf.MultiBuffer, numberOfPacketToFilter *int, enableXtls *bool, ...) + func XtlsPadding(b *buf.Buffer, command byte, userUUID *[]byte, longPadding bool, ...) *buf.Buffer + func XtlsRead(reader buf.Reader, writer buf.Writer, timer signal.ActivityUpdater, ...) error + func XtlsUnpadding(ctx context.Context, buffer buf.MultiBuffer, userUUID []byte, ...) buf.MultiBuffer + func XtlsWrite(reader buf.Reader, writer buf.Writer, timer signal.ActivityUpdater, ...) error + type Addons struct + Flow string + Seed []byte + func DecodeHeaderAddons(buffer *buf.Buffer, reader io.Reader) (*Addons, error) + func DecodeRequestHeader(isfb bool, first *buf.Buffer, reader io.Reader, validator *vless.Validator) (*protocol.RequestHeader, *Addons, bool, error) + func DecodeResponseHeader(reader io.Reader, request *protocol.RequestHeader) (*Addons, error) + func (*Addons) Descriptor() ([]byte, []int) + func (*Addons) ProtoMessage() + func (x *Addons) GetFlow() string + func (x *Addons) GetSeed() []byte + func (x *Addons) ProtoReflect() protoreflect.Message + func (x *Addons) Reset() + func (x *Addons) String() string + type LengthPacketReader struct + func NewLengthPacketReader(reader io.Reader) *LengthPacketReader + func (r *LengthPacketReader) ReadMultiBuffer() (buf.MultiBuffer, error) + type LengthPacketWriter struct + func NewLengthPacketWriter(writer io.Writer) *LengthPacketWriter + func (w *LengthPacketWriter) WriteMultiBuffer(mb buf.MultiBuffer) error + type MultiLengthPacketWriter struct + func NewMultiLengthPacketWriter(writer buf.Writer) *MultiLengthPacketWriter + func (w *MultiLengthPacketWriter) WriteMultiBuffer(mb buf.MultiBuffer) error