Documentation ¶
Index ¶
- type CustomResponseWriter
- type HTTP
- func (httpProtocol *HTTP) Handle(clientConnection net.Conn, clientConnectionReader *bufio.Reader, ...) error
- func (httpProtocol *HTTP) SetAuthenticationMethod(authenticationMethod Types.AuthenticationMethod) error
- func (httpProtocol *HTTP) SetInboundFilter(filter Types.IOFilter) error
- func (httpProtocol *HTTP) SetLoggingMethod(loggingMethod Types.LoggingMethod) error
- func (httpProtocol *HTTP) SetOutboundFilter(filter Types.IOFilter) error
- func (httpProtocol *HTTP) SetTimeout(_ time.Duration) error
- func (httpProtocol *HTTP) SetTries(_ int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomResponseWriter ¶
type CustomResponseWriter struct { httptest.ResponseRecorder http.Hijacker ClientConnection net.Conn ClientReadWriter *bufio.ReadWriter }
func (*CustomResponseWriter) Hijack ¶
func (customResponseWriter *CustomResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error)
type HTTP ¶
type HTTP struct { AuthenticationMethod Types.AuthenticationMethod ProxyController *goproxy.ProxyHttpServer LoggingMethod Types.LoggingMethod InboundFilter Types.IOFilter OutboundFilter Types.IOFilter }
func (*HTTP) SetAuthenticationMethod ¶
func (httpProtocol *HTTP) SetAuthenticationMethod(authenticationMethod Types.AuthenticationMethod) error
func (*HTTP) SetInboundFilter ¶
func (*HTTP) SetLoggingMethod ¶
func (httpProtocol *HTTP) SetLoggingMethod(loggingMethod Types.LoggingMethod) error
func (*HTTP) SetOutboundFilter ¶
Click to show internal directories.
Click to hide internal directories.