Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 1,221 for xnet (0.02 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt

     */
    
    package okhttp3.internal.http
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    import okhttp3.internal.format
    
    class RecordingProxySelector : ProxySelector() {
      @JvmField val proxies = mutableListOf<Proxy>()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.matches
    import java.net.http.HttpClient
    import java.net.http.HttpClient.Redirect.NORMAL
    import java.net.http.HttpRequest
    import java.net.http.HttpResponse.BodyHandlers
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 25 13:16:02 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  3. ci/devinfra/docker/windows/Dockerfile

    ENV PYTHON_VERSION 3.12.3
    
    RUN $url = ('https://www.python.org/ftp/python/{0}/python-{0}-amd64.exe' -f $env:PYTHON_VERSION); \
    	Write-Host ('Downloading {0} ...' -f $url); \
    	[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
    	(New-Object Net.WebClient).DownloadFile($url, 'C:\tmp\pyinstall.exe'); \
    	\
    	Write-Host 'Installing...'; \
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Jan 17 16:35:57 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  4. internal/http/dial_dnscache.go

    	if lookupHost == nil {
    		lookupHost = net.DefaultResolver.LookupHost
    	}
    
    	if baseDialCtx == nil {
    		// This is same as which `http.DefaultTransport` uses.
    		baseDialCtx = (&net.Dialer{
    			Timeout:   30 * time.Second,
    			KeepAlive: 30 * time.Second,
    		}).DialContext
    	}
    
    	return func(ctx context.Context, network, addr string) (conn net.Conn, err error) {
    		host, port, err := net.SplitHostPort(addr)
    		if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. api/go1.9.txt

    pkg net/http, method (*Server) RegisterOnShutdown(func())
    pkg net/http, method (*Server) ServeTLS(net.Listener, string, string) error
    pkg net/http/fcgi, func ProcessEnv(*http.Request) map[string]string
    pkg net/http/httptest, method (*Server) Certificate() *x509.Certificate
    pkg net/http/httptest, method (*Server) Client() *http.Client
    pkg reflect, func MakeMapWithSize(Type, int) Value
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Oct 04 20:20:20 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/test/net/protocol/xxx4/Handler.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.test.net.protocol.xxx4;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 951 bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.Socket;
    import java.security.GeneralSecurityException;
    import java.security.KeyManagementException;
    import java.security.KeyStore;
    import java.security.NoSuchAlgorithmException;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import javax.net.ssl.SSLContext;
    import javax.net.ssl.SSLSocket;
    import javax.net.ssl.SSLSocketFactory;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 14 21:57:42 GMT 2019
    - 6.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/test/net/protocol/xxx2/Handler.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.test.net.protocol.xxx2;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        public static final String PROTOCOL_TYPE = "file";
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1007 bytes
    - Click Count (0)
  9. internal/grid/grid.go

    // There should be no retries in this function,
    // and should have a timeout of something like 2 seconds.
    // The returned net.Conn should also have quick disconnect on errors.
    // The net.Conn must support all features as described by the net.Conn interface.
    type ConnDialer func(ctx context.Context, address string) (net.Conn, error)
    
    // ConnectWSWithRoutePath is like ConnectWS but with a custom grid route path.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

    import java.io.OutputStream
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.Socket
    import java.net.SocketAddress
    import java.net.URI
    import java.security.cert.X509Certificate
    import java.util.Locale.getDefault
    import java.util.concurrent.TimeUnit
    import javax.net.SocketFactory
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLSocket
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
Back to Top