Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 872 for Net (0.05 sec)

  1. cmd/endpoint_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"fmt"
    	"net"
    	"net/url"
    	"path/filepath"
    	"reflect"
    	"strings"
    	"testing"
    )
    
    func TestNewEndpoint(t *testing.T) {
    	u2, _ := url.Parse("https://example.org/path")
    	u4, _ := url.Parse("http://192.168.253.200/path")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package okhttp3.java.net.cookiejar
    
    import java.io.IOException
    import java.net.CookieHandler
    import java.net.HttpCookie
    import java.util.Collections
    import okhttp3.Cookie
    import okhttp3.CookieJar
    import okhttp3.HttpUrl
    import okhttp3.internal.cookieToString
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

    package okhttp3.recipes.kt
    
    import java.io.IOException
    import java.security.KeyStore
    import java.security.SecureRandom
    import java.security.Security
    import javax.net.ssl.KeyManagerFactory
    import javax.net.ssl.KeyStoreBuilderParameters
    import javax.net.ssl.SSLContext
    import javax.net.ssl.X509ExtendedKeyManager
    import javax.security.auth.callback.Callback
    import javax.security.auth.callback.CallbackHandler
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. android-test-app/src/androidTest/kotlin/okhttp/android/testapp/IdnaTest.kt

    package okhttp3.android
    
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import org.junit.Assert.assertEquals
    import org.junit.Test
    
    class IdnaTest {
      @Test
      fun testHostnameFunction() {
        assertEquals("xn--n3h.net", "https://☃.net/robots.txt".toHttpUrl().host)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 19:38:06 UTC 2025
    - 869 bytes
    - Viewed (0)
  5. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt

    import android.os.Build
    import android.os.StrictMode
    import android.security.NetworkSecurityPolicy
    import android.util.CloseGuard
    import android.util.Log
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.X509TrustManager
    import okhttp3.Protocol
    import okhttp3.internal.SuppressSignatureCheck
    import okhttp3.internal.platform.AndroidPlatform.Companion.Tag
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jul 20 11:25:50 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import java.net.InetAddress
    import java.net.ServerSocket
    import javax.net.ServerSocketFactory
    
    /**
     * A [ServerSocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureServerSocket].
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt

      @Test fun overflowMaxCodePoint() {
        assertNull(Punycode.decode("xn--a-b.net"))
        assertNull(Punycode.decode("xn--a-9b.net"))
        assertEquals("a՚.net", Punycode.decode("xn--a-99b.net"))
        assertEquals("a溠.net", Punycode.decode("xn--a-999b.net"))
        assertEquals("a\uD8E2\uDF5C.net", Punycode.decode("xn--a-9999b.net"))
        assertNull(Punycode.decode("xn--a-99999b.net"))
      }
    
      @Test fun dashInPrefix() {
        testEncodeDecode(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

    import java.security.KeyStore
    import java.security.Provider
    import java.security.cert.X509Certificate
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLSession
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.TrustManager
    import javax.net.ssl.TrustManagerFactory
    import javax.net.ssl.X509TrustManager
    import okhttp3.Protocol
    import org.conscrypt.Conscrypt
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.net.Proxy
    import java.net.ProxySelector
    import java.util.Objects
    import javax.net.SocketFactory
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLSocketFactory
    import okhttp3.internal.toImmutableList
    
    /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetCookieJar.kt

     */
    
    package okhttp3
    
    import java.net.CookieHandler
    
    /**
     * A cookie jar that delegates to a [java.net.CookieHandler].
     *
     * This implementation delegates everything to [okhttp3.java.net.cookiejar.JavaNetCookieJar], which
     * conforms to the package-naming limitations of JPMS.
     *
     * Callers should prefer to use [okhttp3.java.net.cookiejar.JavaNetCookieJar] directly.
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top