Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 145 for payloadCh (0.06 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

        }
      }
    
      /**
       * Send a connection-level ping to the peer. `ack` indicates this is a reply. The data in
       * `payload1` and `payload2` opaque binary, and there are no rules on the content.
       */
      @Throws(IOException::class)
      fun ping(
        ack: Boolean,
        payload1: Int,
        payload2: Int,
      ) {
        withLock {
          if (closed) throw IOException("closed")
          frameHeader(
            streamId = 0,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        val b1 = source.readByte() and 0xff
    
        val isMasked = b1 and B1_FLAG_MASK != 0
        if (isMasked == isClient) {
          // Masked payloads must be read on the server. Unmasked payloads must be read on the client.
          throw ProtocolException(
            if (isClient) {
              "Server-sent frames must not be masked."
            } else {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/BaseTestHandler.kt

        clearPrevious: Boolean,
        settings: Settings,
      ) {
        fail("")
      }
    
      override fun ackSettings() {
        fail("")
      }
    
      override fun ping(
        ack: Boolean,
        payload1: Int,
        payload2: Int,
      ) {
        fail("")
      }
    
      override fun goAway(
        lastGoodStreamId: Int,
        errorCode: ErrorCode,
        debugData: ByteString,
      ) {
        fail("")
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val OPCODE_CONTROL_CLOSE = 0x8
      internal const val OPCODE_CONTROL_PING = 0x9
      internal const val OPCODE_CONTROL_PONG = 0xa
    
      /**
       * Maximum length of frame payload. Larger payloads, if supported by the frame type, can use the
       * special values [PAYLOAD_SHORT] or [PAYLOAD_LONG].
       */
      internal const val PAYLOAD_BYTE_MAX = 125L
    
      /** Maximum length of close message in bytes. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/generate-clients.md

    ## Benefits { #benefits }
    
    When using the automatically generated clients, you would get **autocompletion** for:
    
    * Methods.
    * Request payloads in the body, query parameters, etc.
    * Response payloads.
    
    You would also have **inline errors** for everything.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.7K bytes
    - Click Count (1)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

          } catch (e: IOException) {
            failConnection(e)
          }
        }
      }
    
      fun writePing(
        reply: Boolean,
        payload1: Int,
        payload2: Int,
      ) {
        try {
          writer.ping(reply, payload1, payload2)
        } catch (e: IOException) {
          failConnection(e)
        }
      }
    
      /** For testing: sends a ping and waits for a pong. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 31.9K bytes
    - Click Count (0)
  7. fastapi/sse.py

            if self.data is not None and self.raw_data is not None:
                raise ValueError(
                    "Cannot set both 'data' and 'raw_data' on the same "
                    "ServerSentEvent. Use 'data' for JSON-serialized payloads "
                    "or 'raw_data' for pre-formatted strings."
                )
            return self
    
    
    def format_sse_event(
        *,
        data_str: Annotated[
            str | None,
            Doc(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  8. docs/fr/docs/advanced/generate-clients.md

    ## Avantages { #benefits }
    
    En utilisant les clients générés automatiquement, vous obtiendrez de l’**autocomplétion** pour :
    
    * Méthodes.
    * Payloads de requête dans le corps, paramètres de requête, etc.
    * Payloads de réponse.
    
    Vous auriez également des **erreurs en ligne** pour tout.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 11K bytes
    - Click Count (0)
  9. docs/es/docs/advanced/generate-clients.md

    ## Beneficios { #benefits }
    
    Cuando uses los clientes generados automáticamente obtendrás **autocompletado** para:
    
    * Métodos.
    * Payloads de request en el body, parámetros de query, etc.
    * Payloads de response.
    
    También tendrás **errores en línea** para todo.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  10. docs/de/docs/advanced/generate-clients.md

    ## Vorteile { #benefits }
    
    Wenn Sie die automatisch generierten Clients verwenden, erhalten Sie **Autovervollständigung** für:
    
    * Methoden.
    * Request-Payloads im Body, Query-Parameter, usw.
    * Response-Payloads.
    
    Sie erhalten auch **Inline-Fehlerberichte** für alles.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 11.3K bytes
    - Click Count (0)
Back to Top