Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for AutoClose (0.13 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt

      }
    
      @Throws(IOException::class)
      override fun createSocket(
        socket: Socket,
        host: String,
        port: Int,
        autoClose: Boolean,
      ): SSLSocket {
        val sslSocket = delegate.createSocket(socket, host, port, autoClose) as SSLSocket
        return configureSocket(sslSocket)
      }
    
      @Throws(IOException::class)
      protected open fun configureSocket(sslSocket: SSLSocket): SSLSocket {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

          return delegate.getSupportedCipherSuites();
        }
    
        @Override public Socket createSocket(
            Socket socket, String host, int port, boolean autoClose) throws IOException {
          return configureSocket((SSLSocket) delegate.createSocket(socket, host, port, autoClose));
        }
    
        @Override public Socket createSocket(String host, int port) throws IOException {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
  3. src/encoding/xml/xml.go

    	// Such tags are recorded with the unknown prefix as the name space URL.
    	Strict bool
    
    	// When Strict == false, AutoClose indicates a set of elements to
    	// consider closed immediately after they are opened, regardless
    	// of whether an end element is present.
    	AutoClose []string
    
    	// Entity can be used to map non-standard entity names to string replacements.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  4. src/encoding/xml/xml_test.go

    func BenchmarkHTMLAutoClose(b *testing.B) {
    	b.RunParallel(func(p *testing.PB) {
    		for p.Next() {
    			d := NewDecoder(strings.NewReader(testInputHTMLAutoClose))
    			d.Strict = false
    			d.AutoClose = HTMLAutoClose
    			d.Entity = HTMLEntity
    			for {
    				_, err := d.Token()
    				if err != nil {
    					if err == io.EOF {
    						break
    					}
    					b.Fatalf("unexpected error: %v", err)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

            val sslSocket =
              route.address.sslSocketFactory.createSocket(
                rawSocket,
                route.address.url.host,
                route.address.url.port,
                // autoClose:
                true,
              ) as SSLSocket
    
            val tlsEquipPlan = planWithCurrentOrInitialConnectionSpec(connectionSpecs, sslSocket)
            val connectionSpec = connectionSpecs[tlsEquipPlan.connectionSpecIndex]
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Attr", Type, 0},
    		{"Attr.Name", Field, 0},
    		{"Attr.Value", Field, 0},
    		{"CharData", Type, 0},
    		{"Comment", Type, 0},
    		{"CopyToken", Func, 0},
    		{"Decoder", Type, 0},
    		{"Decoder.AutoClose", Field, 0},
    		{"Decoder.CharsetReader", Field, 0},
    		{"Decoder.DefaultSpace", Field, 1},
    		{"Decoder.Entity", Field, 0},
    		{"Decoder.Strict", Field, 0},
    		{"Directive", Type, 0},
    		{"Encoder", Type, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg encoding/xml, type Attr struct, Value string
    pkg encoding/xml, type CharData []uint8
    pkg encoding/xml, type Comment []uint8
    pkg encoding/xml, type Decoder struct
    pkg encoding/xml, type Decoder struct, AutoClose []string
    pkg encoding/xml, type Decoder struct, CharsetReader func(string, io.Reader) (io.Reader, error)
    pkg encoding/xml, type Decoder struct, Entity map[string]string
    pkg encoding/xml, type Decoder struct, Strict bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top