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 ¶
func (session *SubSession) WriteHttpResponseHeader()
Click to show internal directories.
Click to hide internal directories.