Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for errcode (0.17 sec)

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

      fun rstStream(
        streamId: Int,
        errorCode: ErrorCode,
      ) {
        this.withLock {
          if (closed) throw IOException("closed")
          require(errorCode.httpCode != -1)
    
          frameHeader(
            streamId = streamId,
            length = 4,
            type = TYPE_RST_STREAM,
            flags = FLAG_NONE,
          )
          sink.writeInt(errorCode.httpCode)
          sink.flush()
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        noRecoveryFromErrorWithRetryDisabled(ErrorCode.CANCEL)
      }
    
      private fun noRecoveryFromErrorWithRetryDisabled(errorCode: ErrorCode?) {
        server.enqueue(
          MockResponse(socketPolicy = ResetStreamAtStart(errorCode!!.httpCode)),
        )
        server.enqueue(MockResponse(body = "abc"))
        client =
          client.newBuilder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. common-protos/k8s.io/apimachinery/pkg/runtime/generated.proto

      // with a registered type. Most likely, nothing should be done with this
      // except for passing it through the system.
      optional bytes raw = 2;
    
      // ContentEncoding is encoding used to encode 'Raw' data.
      // Unspecified means no encoding.
      optional string contentEncoding = 3;
    
      // ContentType  is serialization method used to serialize 'Raw'.
      // Unspecified means ContentTypeJSON.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * underlying input and output streams and shuts down internal task queues.
       */
      override fun close() {
        close(ErrorCode.NO_ERROR, ErrorCode.CANCEL, null)
      }
    
      internal fun close(
        connectionCode: ErrorCode,
        streamCode: ErrorCode,
        cause: IOException?,
      ) {
        this.assertThreadDoesntHoldLock()
    
        ignoreIoExceptions {
          shutdown(connectionCode)
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  5. docs/pl/docs/help-fastapi.md

    Możesz również wesprzeć:
    
    * <a href="https://github.com/sponsors/samuelcolvin" class="external-link" target="_blank">Samuel Colvin (Pydantic)</a>
    * <a href="https://github.com/sponsors/encode" class="external-link" target="_blank">Encode (Starlette, Uvicorn)</a>
    
    ---
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/async-sql-encode-databases.md

    You can also use <a href="https://github.com/encode/databases" class="external-link" target="_blank">`encode/databases`</a> with **FastAPI** to connect to databases using `async` and `await`.
    
    It is compatible with:
    
    * PostgreSQL
    * MySQL
    * SQLite
    
    In this example, we'll use **SQLite**, because it uses a single file and Python has integrated support. So, you can copy this example and run it as is.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  7. docs/pl/docs/features.md

    Dzięki **FastAPI** otrzymujesz wszystkie funkcje **Starlette** (ponieważ FastAPI to po prostu Starlette na sterydach):
    
    * Bardzo imponująca wydajność. Jest to <a href="https://github.com/encode/starlette#performance" class="external-link" target="_blank">jeden z najszybszych dostępnych frameworków Pythona, na równi z **NodeJS** i **Go**</a>.
    * Wsparcie dla **WebSocket**.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  8. docs/ru/docs/features.md

    С **FastAPI** вы получаете все возможности **Starlette** (так как FastAPI это всего лишь Starlette на стероидах):
    
    * Серьёзно впечатляющая производительность. Это <a href="https://github.com/encode/starlette#performance" class="external-link" target="_blank">один из самых быстрых фреймворков на Python</a>, наравне с приложениями использующими **NodeJS** или **Go**.
    * Поддержка **WebSocket**.
    * Фоновые задачи для процессов.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  9. docs/es/docs/features.md

    Con **FastAPI** obtienes todas las características de **Starlette** (porque FastAPI es simplemente Starlette en esteroides):
    
    * Desempeño realmente impresionante. Es uno <a href="https://github.com/encode/starlette#performance" class="external-link" target="_blank"> de los frameworks de Python más rápidos, a la par con **NodeJS** y **Go**</a>.
    * Soporte para **WebSocket**.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. docs/fa/docs/features.md

    با **FastAPI** شما تمام ویژگی های **Starlette** را خواهید داشت (زیرا FastAPI یک نسخه و نمونه به تمام معنا از Starlette است):
    
    * عملکرد به طورجدی چشمگیر. <a href="https://github.com/encode/starlette#performance" class="external-link" target="_blank">این یکی از سریعترین فریم ورک های موجود در پایتون است که همتراز با **نود جی اس** و **گو**</a> است.
    * پشتیبانی از **WebSocket**.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top