Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for configureTransport (0.24 sec)

  1. src/net/http/transport.go

    // and how the Transport is configured. The [DefaultTransport] supports HTTP/2.
    // To explicitly enable HTTP/2 on a transport, use golang.org/x/net/http2
    // and call ConfigureTransport. See the package docs for more about HTTP/2.
    //
    // Responses with status codes in the 1xx range are either handled
    // automatically (100 expect-continue) or ignored. The one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  2. src/net/http/h2_bundle.go

    	return t.PingTimeout
    
    }
    
    // ConfigureTransport configures a net/http HTTP/1 Transport to use HTTP/2.
    // It returns an error if t1 has already been HTTP/2-enabled.
    //
    // Use ConfigureTransports instead to configure the HTTP/2 Transport.
    func http2ConfigureTransport(t1 *Transport) error {
    	_, err := http2ConfigureTransports(t1)
    	return err
    }
    
    // ConfigureTransports configures a net/http HTTP/1 Transport to use HTTP/2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top