Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for Seguin (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/WebSocketListener.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.ByteString
    
    abstract class WebSocketListener {
      /**
       * Invoked when a web socket has been accepted by the remote peer and may begin transmitting
       * messages.
       */
      open fun onOpen(
        webSocket: WebSocket,
        response: Response,
      ) {
      }
    
      /** Invoked when a text (type `0x1`) message has been received. */
      open fun onMessage(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java

        boolean androidMorEarlier = Build.VERSION.SDK_INT <= 23;
    
        OkHttpClient.Builder builder = new OkHttpClient.Builder();
    
        if (androidMorEarlier) {
          String isgCert =
                  "-----BEGIN CERTIFICATE-----\n" +
                  "MIIFazCCA1OgAwIBAgIRAIIQz7DSQONZRGPgu2OCiwAwDQYJKoZIhvcNAQELBQAw\n" +
                  "TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh\n" +
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Nov 17 07:40:31 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

       *
       * This method returns false unless it is overridden by a subclass.
       *
       * ### Duplex Transmission
       *
       * With regular HTTP calls the request always completes sending before the response may begin
       * receiving. With duplex the request and response may be interleaved! That is, request body bytes
       * may be sent after response headers or body bytes have been received.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 25 14:41:37 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      fun journalWriteFailsDuringEdit(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        set("a", "a", "a")
        set("b", "b", "b")
    
        // We can't begin the edit if writing 'DIRTY' fails.
        filesystem.setFaultyWrite(journalFile, true)
        assertThat(cache.edit("c")).isNull()
    
        // Once the journal has a failure, subsequent writes aren't permitted.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

    import okio.ByteString.Companion.toByteString
    
    /**
     * Decodes a multiline string that contains a [certificate][certificatePem] which is
     * [PEM-encoded][rfc_7468]. A typical input string looks like this:
     *
     * ```
     * -----BEGIN CERTIFICATE-----
     * MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl
     * cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx
     * MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (2)
  6. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

     * 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(
        eventSource: EventSource,
        response: Response,
      ) {
      }
    
      /**
       * TODO description.
       */
      open fun onEvent(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (2)
  7. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

        val androidMorEarlier = Build.VERSION.SDK_INT <= 23
    
        val clientBuilder = OkHttpClient.Builder()
    
        if (androidMorEarlier) {
          val cert: X509Certificate =
            """
            -----BEGIN CERTIFICATE-----
            MIIFazCCA1OgAwIBAgIRAIIQz7DSQONZRGPgu2OCiwAwDQYJKoZIhvcNAQELBQAw
            TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  8. okhttp/src/main/kotlin/okhttp3/EventListener.kt

     */
    abstract class EventListener {
      /**
       * Invoked as soon as a call is enqueued or executed by a client. In case of thread or stream
       * limits, this call may be executed well before processing the request is able to begin.
       *
       * This will be invoked only once for a single [Call]. Retries of different routes or redirects
       * will be handled within the boundaries of a single [callStart] and [callEnd]/[callFailed] pair.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/StreamHandler.kt

     * limitations under the License.
     */
    package mockwebserver3
    
    import okhttp3.ExperimentalOkHttpApi
    
    /**
     * Handles a call's stream directly. Use this instead of [MockResponseBody] to begin sending
     * response data before all request data has been received.
     *
     * See [okhttp3.RequestBody.isDuplex].
     */
    @ExperimentalOkHttpApi
    interface StreamHandler {
      fun handle(stream: Stream)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 945 bytes
    - Viewed (0)
  10. okhttp-tls/README.md

    PEM files
    ---------
    
    You can encode a `HeldCertificate` in PEM format:
    
    ```java
    HeldCertificate heldCertificate = ...
    System.out.println(heldCertificate.certificatePem())
    ```
    
    ```
    -----BEGIN CERTIFICATE-----
    MIIBSjCB8aADAgECAgEBMAoGCCqGSM49BAMCMC8xLTArBgNVBAMTJDJiYWY3NzVl
    LWE4MzUtNDM5ZS1hYWE2LTgzNmNiNDlmMGM3MTAeFw0xODA3MTMxMjA0MzJaFw0x
    ODA3MTQxMjA0MzJaMC8xLTArBgNVBAMTJDJiYWY3NzVlLWE4MzUtNDM5ZS1hYWE2
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 9.1K bytes
    - Viewed (1)
Back to top