httputil

package
v0.0.0-...-375d9ab Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

This file has automatically been generated on Wed Feb 26 15:50:44 +05 2020. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientConnClose

func ClientConnClose(cc *httputil.ClientConn) error

func ClientConnDo

func ClientConnDo(cc *httputil.ClientConn, req *http.Request) (*http.Response, error)

func ClientConnHijack

func ClientConnHijack(cc *httputil.ClientConn) (net.Conn, *bufio.Reader)

func ClientConnPending

func ClientConnPending(cc *httputil.ClientConn) int

func ClientConnRead

func ClientConnRead(cc *httputil.ClientConn, req *http.Request) (*http.Response, error)

func ClientConnWrite

func ClientConnWrite(cc *httputil.ClientConn, req *http.Request) error

func DumpRequest

func DumpRequest(req *http.Request, body bool) ([]byte, error)

func DumpRequestOut

func DumpRequestOut(req *http.Request, body bool) ([]byte, error)

func DumpResponse

func DumpResponse(resp *http.Response, body bool) ([]byte, error)

func NewChunkedReader

func NewChunkedReader(r io.Reader) io.Reader

func NewChunkedWriter

func NewChunkedWriter(w io.Writer) io.WriteCloser

func NewClientConn

func NewClientConn(c net.Conn, r *bufio.Reader) *httputil.ClientConn

func NewProxyClientConn

func NewProxyClientConn(c net.Conn, r *bufio.Reader) *httputil.ClientConn

func NewServerConn

func NewServerConn(c net.Conn, r *bufio.Reader) *httputil.ServerConn

func NewSingleHostReverseProxy

func NewSingleHostReverseProxy(target *url.URL) *httputil.ReverseProxy

func ServerConnClose

func ServerConnClose(sc *httputil.ServerConn) error

func ServerConnHijack

func ServerConnHijack(sc *httputil.ServerConn) (net.Conn, *bufio.Reader)

func ServerConnPending

func ServerConnPending(sc *httputil.ServerConn) int

func ServerConnRead

func ServerConnRead(sc *httputil.ServerConn) (*http.Request, error)

func ServerConnWrite

func ServerConnWrite(sc *httputil.ServerConn, req *http.Request, resp *http.Response) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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