- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 340 for NET (0.02 seconds)
-
cmd/net.go
func mustGetLocalIPs() (ipList []net.IP) { ifs, err := net.Interfaces() logger.FatalIf(err, "Unable to get IP addresses of this host") for _, interf := range ifs { addrs, err := interf.Addrs() if err != nil { continue } if runtime.GOOS == "windows" && interf.Flags&net.FlagUp == 0 { continue } for _, addr := range addrs { var ip net.IP switch v := addr.(type) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.6K bytes - Click Count (1) -
internal/http/listener.go
} return nil } // Addr - net.Listener interface compatible method returns net.Addr. In case of multiple TCP listeners, it returns '0.0.0.0' as IP address. func (listener *httpListener) Addr() (addr net.Addr) { addr = listener.listeners[0].Addr() if len(listener.listeners) == 1 { return addr } if tcpAddr, ok := addr.(*net.TCPAddr); ok { return &net.TCPAddr{ IP: net.IPv4zero, Port: tcpAddr.Port,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.8K bytes - Click Count (0) -
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 Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 2.6K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
public final fun -deprecated_url ()Lokhttp3/HttpUrl; public fun <init> (Ljava/lang/String;ILokhttp3/Dns;Ljavax/net/SocketFactory;Ljavax/net/ssl/SSLSocketFactory;Ljavax/net/ssl/HostnameVerifier;Lokhttp3/CertificatePinner;Lokhttp3/Authenticator;Ljava/net/Proxy;Ljava/util/List;Ljava/util/List;Ljava/net/ProxySelector;)V public final fun certificatePinner ()Lokhttp3/CertificatePinner; public final fun connectionSpecs ()Ljava/util/List;
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.2K bytes - Click Count (0) -
okhttp/api/android/okhttp.api
public final fun -deprecated_url ()Lokhttp3/HttpUrl; public fun <init> (Ljava/lang/String;ILokhttp3/Dns;Ljavax/net/SocketFactory;Ljavax/net/ssl/SSLSocketFactory;Ljavax/net/ssl/HostnameVerifier;Lokhttp3/CertificatePinner;Lokhttp3/Authenticator;Ljava/net/Proxy;Ljava/util/List;Ljava/util/List;Ljava/net/ProxySelector;)V public final fun certificatePinner ()Lokhttp3/CertificatePinner; public final fun connectionSpecs ()Ljava/util/List;
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt
import java.io.IOException import java.net.SocketException import java.security.GeneralSecurityException import java.security.SecureRandom import java.security.cert.X509Certificate import java.util.Arrays import javax.net.ssl.KeyManager import javax.net.ssl.SSLContext import javax.net.ssl.SSLException import javax.net.ssl.SSLHandshakeException import javax.net.ssl.SSLPeerUnverifiedException
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 13K bytes - Click Count (0) -
internal/logger/target/kafka/kafka.go
if err != nil { return err } sconfig.Net.TLS.Enable = h.kconfig.TLS.Enable sconfig.Net.TLS.Config = tlsConfig sconfig.Net.TLS.Config.InsecureSkipVerify = h.kconfig.TLS.SkipVerify sconfig.Net.TLS.Config.ClientAuth = h.kconfig.TLS.ClientAuth sconfig.Net.TLS.Config.RootCAs = h.kconfig.TLS.RootCAs // These settings are needed to ensure that kafka client doesn't hang on brokersCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 10.2K bytes - Click Count (0) -
okhttp-java-net-cookiejar/build.gradle.kts
id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") } project.applyOsgi( "Export-Package: okhttp3.java.net.cookiejar", "Bundle-SymbolicName: com.squareup.okhttp3.java.net.cookiejar" ) project.applyJavaModules("okhttp3.java.net.cookiejar") dependencies { "friendsApi"(projects.okhttp) compileOnly(libs.animalsniffer.annotations) } mavenPublishing {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Sep 21 06:22:22 GMT 2025 - 595 bytes - Click Count (0) -
internal/logger/target/kafka/kafka_scram_client_contrib.go
case "sha512": config.Net.SASL.SCRAMClientGeneratorFunc = func() sarama.SCRAMClient { return &XDGSCRAMClient{HashGeneratorFcn: KafkaSHA512} } config.Net.SASL.Mechanism = sarama.SASLMechanism(sarama.SASLTypeSCRAMSHA512) case "sha256": config.Net.SASL.SCRAMClientGeneratorFunc = func() sarama.SCRAMClient { return &XDGSCRAMClient{HashGeneratorFcn: KafkaSHA256} }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
import assertk.assertions.isNotNull import java.io.IOException import java.net.InetAddress import java.util.concurrent.CompletableFuture import java.util.concurrent.TimeUnit.SECONDS import javax.net.ssl.SNIHostName import javax.net.ssl.SNIMatcher import javax.net.ssl.SNIServerName import javax.net.ssl.SSLSocket import javax.net.ssl.StandardConstants import mockwebserver3.MockResponse import mockwebserver3.MockWebServer
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 7.9K bytes - Click Count (0)