HTTP

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTP

type HTTP struct {
	AuthenticationMethod Types.AuthenticationMethod

	LoggingMethod Types.LoggingMethod

	OutboundFilter Types.IOFilter
	// contains filtered or unexported fields
}

func NewHTTP

func NewHTTP(
	authenticationMethod Types.AuthenticationMethod,
	loggingMethod Types.LoggingMethod,
	outboundFilter Types.IOFilter,
) *HTTP

func (*HTTP) Handle

func (protocol *HTTP) Handle(clientConnection net.Conn) error

func (*HTTP) SetAuthenticationMethod

func (protocol *HTTP) SetAuthenticationMethod(authenticationMethod Types.AuthenticationMethod) error

func (*HTTP) SetDial

func (protocol *HTTP) SetDial(dialFunc Types.DialFunc)

func (*HTTP) SetLoggingMethod

func (protocol *HTTP) SetLoggingMethod(loggingMethod Types.LoggingMethod) error

func (*HTTP) SetOutboundFilter

func (protocol *HTTP) SetOutboundFilter(filter Types.IOFilter) error

Jump to

Keyboard shortcuts

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