Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 584 for protokol (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

        }
      }
    
      private fun MockResponse.Builder.body(
        protocol: Protocol,
        body: String,
      ) = apply {
        when (protocol) {
          Protocol.HTTP_1_1 -> chunkedBody(body, 1024)
    
          // Force multiple chunks.
          else -> body(body)
        }
      }
    
      private fun enableProtocol(protocol: Protocol) {
        if (protocol == Protocol.HTTP_2) {
          enableTls()
          client =
            client
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 18.8K bytes
    - Click Count (0)
  2. README.md

    <dependency>
        <groupId>org.codelibs</groupId>
        <artifactId>jcifs</artifactId>
        <version>2.1.39</version>
    </dependency>
    ```
    
    
    
    ## Features
    
    ### Protocol Support
    The library supports a full range of SMB protocols with automatic negotiation:
    
    **Supported Protocols:**
    - **SMB1/CIFS**: Legacy support via `jcifs.smb1/` package
    - **SMB 2.0.2**: Windows Vista+ (0x0202)
    - **SMB 2.1**: Windows 7/Server 2008R2 (0x0210)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 09:24:52 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt

    @Burst
    class CallLimitsTest(
      private val protocol: Protocol = burstValues(Protocol.H2_PRIOR_KNOWLEDGE, Protocol.HTTP_1_1),
    ) {
      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      @StartStop
      private val server =
        MockWebServer().apply {
          protocols = listOf(protocol)
        }
    
      private var client =
        clientTestRule
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  4. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

          super.configureTlsExtensions(sslSocket, hostname, protocols)
        }
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? =
        if (sslSocket is org.openjsse.javax.net.ssl.SSLSocket) {
          when (val protocol = sslSocket.applicationProtocol) {
            // Handles both un-configured and none selected.
            null, "" -> null
    
            else -> protocol
          }
        } else {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  5. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

        delegate.protocolNegotiationEnabled = protocolNegotiationEnabled
      }
    
      @JvmName("-deprecated_protocols")
      fun setProtocols(protocols: List<Protocol>) {
        delegate.protocols = protocols
      }
    
      @JvmName("-deprecated_protocols")
      fun protocols(): List<Protocol> = delegate.protocols
    
      fun useHttps(
        sslSocketFactory: SSLSocketFactory,
        tunnelProxy: Boolean,
      ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 00:19:42 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt

        val s = sslSocket as BCSSLSocket
    
        return when (val protocol = s.applicationProtocol) {
          null, "" -> null
          else -> protocol
        }
      }
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        if (matchesSocket(sslSocket)) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

            call.eventListener.secureConnectEnd(call, handshake)
          } else {
            javaNetSocket = rawSocket
            protocol =
              when {
                Protocol.H2_PRIOR_KNOWLEDGE in route.address.protocols -> Protocol.H2_PRIOR_KNOWLEDGE
                else -> Protocol.HTTP_1_1
              }
          }
    
          val connection =
            RealConnection(
              taskRunner = taskRunner,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 19.3K bytes
    - Click Count (2)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

          RequestBodyEnd::class,
          ConnectionReleased::class,
          CallEnd::class,
        )
      }
    
      private fun enableTls(vararg protocols: Protocol) {
        client =
          client
            .newBuilder()
            .protocols(protocols.toList())
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 08 21:07:01 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

          .assertSuccessful()
          .assertCode(200)
      }
    
      private fun enableProtocol(protocol: Protocol) {
        enableTls()
        client =
          client
            .newBuilder()
            .protocols(listOf(protocol, Protocol.HTTP_1_1))
            .build()
        server1.protocols = client.protocols
        server2.protocols = client.protocols
      }
    
      private fun enableTls() {
        client =
          client
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 15:25:06 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

        try {
          // SSLSocket.getApplicationProtocol returns "" if application protocols values will not
          // be used. Observed if you didn't specify SSLParameters.setApplicationProtocols
          when (val protocol = sslSocket.applicationProtocol) {
            null, "" -> null
            else -> protocol
          }
        } catch (e: UnsupportedOperationException) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 09:36:53 GMT 2026
    - 2.8K bytes
    - Click Count (0)
Back to Top