Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for jsse (0.01 sec)

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

      @BeforeEach
      fun setUp() {
        // Test designed for Conscrypt and JSSE
        platform.assumeNotBouncyCastle()
      }
    
      @Test
      fun testHttp(socketMode: SocketMode = burstValues(Channel, Standard)) {
        testConnection(socketMode)
      }
    
      @Test
      fun testHttps(
        provider: Provider = Provider.JSSE,
        protocol: Protocol = burstValues(HTTP_1_1, HTTP_2),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

    import okhttp3.tls.internal.TlsUtil.localhost
    import okhttp3.zstd.Zstd
    import okio.ByteString.Companion.toByteString
    import org.bouncycastle.jce.provider.BouncyCastleProvider
    import org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
    import org.conscrypt.Conscrypt
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertFalse
    import org.junit.jupiter.api.Assertions.assertNotNull
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  3. okhttp-sse/api/okhttp-sse.api

    	public abstract fun cancel ()V
    	public abstract fun request ()Lokhttp3/Request;
    }
    
    public abstract interface class okhttp3/sse/EventSource$Factory {
    	public abstract fun newEventSource (Lokhttp3/Request;Lokhttp3/sse/EventSourceListener;)Lokhttp3/sse/EventSource;
    }
    
    public abstract class okhttp3/sse/EventSourceListener {
    	public fun <init> ()V
    	public fun onClosed (Lokhttp3/sse/EventSource;)V
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sse
    
    import okhttp3.Call
    import okhttp3.OkHttpClient
    import okhttp3.Response
    import okhttp3.sse.internal.RealEventSource
    
    object EventSources {
      @Deprecated(
        message = "required for binary-compatibility!",
        level = DeprecationLevel.HIDDEN,
      )
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

     * limitations under the License.
     */
    package okhttp3.sse.internal
    
    import java.io.IOException
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody
    import okhttp3.internal.stripBody
    import okhttp3.sse.EventSource
    import okhttp3.sse.EventSourceListener
    
    internal class RealEventSource(
      private val request: Request,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

     * limitations under the License.
     */
    package okhttp3.sse.internal
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.Headers
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    import okhttp3.sse.EventSources.processResponse
    import okhttp3.testing.PlatformRule
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. okhttp-sse/README.md

    =========================
    
    Experimental support for server-sent events.
    API is not considered stable and may change at any time.
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-sse:5.3.0")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 244 bytes
    - Viewed (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

    import okhttp3.CallEvent.ResponseHeadersStart
    import okhttp3.EventRecorder
    import okhttp3.Headers
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    import okhttp3.sse.EventSource
    import okhttp3.sse.EventSources.createFactory
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sse
    
    import okhttp3.Response
    
    abstract class EventSourceListener {
      /**
       * Invoked when an event source has been accepted by the remote peer and may begin transmitting
       * events.
       */
      open fun onOpen(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. android-test/build.gradle.kts

      if (androidBuild) {
        sourceSets["androidTest"].java.srcDirs(
          "../okhttp-brotli/src/test/java",
          "../okhttp-dnsoverhttps/src/test/java",
          "../okhttp-logging-interceptor/src/test/java",
          "../okhttp-sse/src/test/java"
        )
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
      testOptions {
        targetSdk = 34
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Nov 21 12:33:41 UTC 2025
    - 3.9K bytes
    - Viewed (2)
Back to top