type net/http.Response
63 uses
net/http (current package)
client.go#L142: RoundTrip(*Request) (*Response, error)
client.go#L175: func (c *Client) send(req *Request, deadline time.Time) (resp *Response, didTimeout func() bool, err error) {
client.go#L212: func send(ireq *Request, rt RoundTripper, deadline time.Time) (resp *Response, didTimeout func() bool, err error) {
client.go#L456: func Get(url string) (resp *Response, err error) {
client.go#L483: func (c *Client) Get(url string) (resp *Response, err error) {
client.go#L511: func redirectBehavior(reqMethod string, resp *Response, ireq *Request) (redirectMethod string, shouldRedirect, includeBody bool) {
client.go#L589: func (c *Client) Do(req *Request) (*Response, error) {
client.go#L593: var testHookClientDoResult func(retres *Response, reterr error)
client.go#L595: func (c *Client) do(req *Request) (retres *Response, reterr error) {
client.go#L610: resp *Response
client.go#L833: func Post(url, contentType string, body io.Reader) (resp *Response, err error) {
client.go#L851: func (c *Client) Post(url, contentType string, body io.Reader) (resp *Response, err error) {
client.go#L876: func PostForm(url string, data url.Values) (resp *Response, err error) {
client.go#L894: func (c *Client) PostForm(url string, data url.Values) (resp *Response, err error) {
client.go#L912: func Head(url string) (resp *Response, err error) {
client.go#L928: func (c *Client) Head(url string) (resp *Response, err error) {
filetransport.go#L34: func (t fileTransport) RoundTrip(req *Request) (resp *Response, err error) {
filetransport.go#L49: func newPopulateResponseWriter() (*populateResponse, <-chan *Response) {
filetransport.go#L52: ch: make(chan *Response),
filetransport.go#L54: res: &Response{
filetransport.go#L70: res *Response
filetransport.go#L71: ch chan *Response
h2_bundle.go#L7457: res *Response // set if respHeaderRecv is closed
h2_bundle.go#L7597: func (t *http2Transport) RoundTrip(req *Request) (*Response, error) {
h2_bundle.go#L7635: func (t *http2Transport) RoundTripOpt(req *Request, opt http2RoundTripOpt) (*Response, error) {
h2_bundle.go#L8302: func (cc *http2ClientConn) RoundTrip(req *Request) (*Response, error) {
h2_bundle.go#L8330: handleResponseHeaders := func() (*Response, error) {
h2_bundle.go#L9179: res *Response
h2_bundle.go#L9462: func (rl *http2clientConnReadLoop) handleResponse(cs *http2clientStream, f *http2MetaHeadersFrame) (*Response, error) {
h2_bundle.go#L9479: res := &Response{
h2_bundle.go#L10141: func (rt http2erringRoundTripper) RoundTrip(*Request) (*Response, error) { return nil, rt.err }
h2_bundle.go#L10202: func (rt http2noDialH2RoundTripper) RoundTrip(req *Request) (*Response, error) {
request.go#L325: Response *Response
response.go#L35: type Response struct {
response.go#L125: func (r *Response) Cookies() []*Cookie {
response.go#L137: func (r *Response) Location() (*url.URL, error) {
response.go#L154: func ReadResponse(r *bufio.Reader, req *Request) (*Response, error) {
response.go#L156: resp := &Response{
response.go#L224: func (r *Response) ProtoAtLeast(major, minor int) bool {
response.go#L245: func (r *Response) Write(w io.Writer) error {
response.go#L264: r1 := new(Response)
response.go#L336: func (r *Response) closeBody() {
response.go#L349: func (r *Response) bodyIsWritable() bool {
response.go#L356: func (r *Response) isProtocolSwitch() bool {
roundtrip.go#L16: func (t *Transport) RoundTrip(req *Request) (*Response, error) {
transfer.go#L109: case *Response:
transfer.go#L492: case *Response:
transfer.go#L549: case *Response:
transfer.go#L590: case *Response:
transfer.go#L941: case *Response:
transport.go#L126: OnProxyConnectResponse func(ctx context.Context, proxyURL *url.URL, connectReq *Request, connectRes *Response) error
transport.go#L513: func (t *Transport) roundTrip(req *Request) (*Response, error) {
transport.go#L598: var resp *Response
transport.go#L1711: resp *Response
transport.go#L2131: var resp *Response
transport.go#L2300: func (pc *persistConn) readResponse(rc requestAndChan, trace *httptrace.ClientTrace) (resp *Response, err error) {
transport.go#L2498: res *Response // else use this response (see res method)
transport.go#L2566: func (pc *persistConn) roundTrip(req *transportRequest) (resp *Response, err error) {
nhooyr.io/websocket
dial.go#L105: func Dial(ctx context.Context, u string, opts *DialOptions) (*Conn, *http.Response, error) {
dial.go#L109: func dial(ctx context.Context, urls string, opts *DialOptions, rand io.Reader) (_ *Conn, _ *http.Response, err error) {
dial.go#L171: func handshakeRequest(ctx context.Context, urls string, opts *DialOptions, copts *compressionOptions, secWebSocketKey string) (*http.Response, error) {
dial.go#L225: func verifyServerResponse(opts *DialOptions, copts *compressionOptions, secWebSocketKey string, resp *http.Response) (*compressionOptions, error) {
dial.go#L253: func verifySubprotocol(subprotos []string, resp *http.Response) error {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |