httpts

package
v0.24.28 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SubSessionWriteChanSize  = 1024
	SubSessionWriteTimeoutMs = 10000
)
View Source
var ErrHttpTs = errors.New("lal.httpts: fxxk")

Functions

This section is empty.

Types

type SubSession

type SubSession struct {
	*base.HttpSubSession // 直接使用它提供的函数
	IsFresh              bool
}

func NewSubSession

func NewSubSession(conn net.Conn, urlCtx base.UrlContext, isWebSocket bool, websocketKey string) *SubSession

func (*SubSession) Dispose

func (session *SubSession) Dispose() error

func (*SubSession) WriteHttpResponseHeader added in v0.24.1

func (session *SubSession) WriteHttpResponseHeader()

Jump to

Keyboard shortcuts

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