http

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type HTTPInboundPacketSession

type HTTPInboundPacketSession struct {
	protocol.PacketSession
	// contains filtered or unexported fields
}

func (*HTTPInboundPacketSession) Close

func (i *HTTPInboundPacketSession) Close() error

func (*HTTPInboundPacketSession) GetRequest

func (i *HTTPInboundPacketSession) GetRequest() *protocol.Request

func (*HTTPInboundPacketSession) ReadPacket

func (i *HTTPInboundPacketSession) ReadPacket() (*protocol.Request, []byte, error)

func (*HTTPInboundPacketSession) Respond

func (i *HTTPInboundPacketSession) Respond(r io.Reader) error

func (*HTTPInboundPacketSession) WritePacket

func (i *HTTPInboundPacketSession) WritePacket(req *protocol.Request, packet []byte) (int, error)

type HTTPInboundTunnelConnSession

type HTTPInboundTunnelConnSession struct {
	protocol.ConnSession
	protocol.NeedRespond
	// contains filtered or unexported fields
}

func (*HTTPInboundTunnelConnSession) Close

func (*HTTPInboundTunnelConnSession) GetRequest

func (*HTTPInboundTunnelConnSession) Read

func (i *HTTPInboundTunnelConnSession) Read(p []byte) (int, error)

func (*HTTPInboundTunnelConnSession) Respond

func (i *HTTPInboundTunnelConnSession) Respond() error

func (*HTTPInboundTunnelConnSession) Write

func (i *HTTPInboundTunnelConnSession) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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