Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for httpDone (0.18 seconds)

  1. docs/extensions/s3zip/examples/aws-js/main.js

    s3.getObject({Bucket: 'your-bucket', Key: 'path/to/file.zip/data.csv'}).
        on('build', function(req) { req.httpRequest.headers['X-Minio-Extract'] = 'true'; }).
        on('httpData', function(chunk) { file.write(chunk); }).
        on('httpDone', function() { file.end(); }).
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jun 10 15:17:03 GMT 2021
    - 1K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/ErrorCode.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    /** http://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-7 */
    enum class ErrorCode constructor(
      val httpCode: Int,
    ) {
      /** Not an error!  */
      NO_ERROR(0),
    
      PROTOCOL_ERROR(1),
    
      INTERNAL_ERROR(2),
    
      FLOW_CONTROL_ERROR(3),
    
      SETTINGS_TIMEOUT(4),
    
      STREAM_CLOSED(5),
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

        withLock {
          if (closed) throw IOException("closed")
          require(errorCode.httpCode != -1) { "errorCode.httpCode == -1" }
          frameHeader(
            streamId = 0,
            length = 8 + debugData.size,
            type = TYPE_GOAWAY,
            flags = FLAG_NONE,
          )
          sink.writeInt(lastGoodStreamId)
          sink.writeInt(errorCode.httpCode)
          if (debugData.isNotEmpty()) {
            sink.write(debugData)
          }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

            .onRequestStart(CloseStream(ErrorCode.REFUSED_STREAM.httpCode))
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .onRequestStart(CloseStream(ErrorCode.REFUSED_STREAM.httpCode))
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .onRequestStart(CloseStream(ErrorCode.REFUSED_STREAM.httpCode))
            .build(),
        )
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

     * limitations under the License.
     */
    package okhttp3.internal.cache
    
    import java.net.HttpURLConnection.HTTP_BAD_METHOD
    import java.net.HttpURLConnection.HTTP_GONE
    import java.net.HttpURLConnection.HTTP_MOVED_PERM
    import java.net.HttpURLConnection.HTTP_MOVED_TEMP
    import java.net.HttpURLConnection.HTTP_MULT_CHOICE
    import java.net.HttpURLConnection.HTTP_NOT_AUTHORITATIVE
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  6. build-tools-internal/build.gradle

      api 'org.ow2.asm:asm:9.0'
      api 'org.ow2.asm:asm-tree:9.0'
      api "org.apache.httpcomponents:httpclient:${props.getProperty('httpclient')}"
      api "org.apache.httpcomponents:httpcore:${props.getProperty('httpcore')}"
      compileOnly "com.puppycrawl.tools:checkstyle:${props.getProperty('checkstyle')}"
      runtimeOnly "org.elasticsearch.gradle:reaper:$version"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 18:10:22 GMT 2021
    - 11.3K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        writeMedium(frame, 4)
        frame.writeByte(Http2.TYPE_RST_STREAM)
        frame.writeByte(FLAG_NONE)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeInt(ErrorCode.PROTOCOL_ERROR.httpCode)
        reader.nextFrame(
          requireSettings = false,
          object : BaseTestHandler() {
            override fun rstStream(
              streamId: Int,
              errorCode: ErrorCode,
            ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

      val ipv6 = InetAddress.getByName("2001:db8:ffff:ffff:ffff:ffff:ffff:1")
    
      val refusedStream =
        MockResponse
          .Builder()
          .onRequestStart(CloseStream(ErrorCode.REFUSED_STREAM.httpCode))
          .build()
      val bodyResponse = MockResponse(body = "body")
    
      @BeforeEach
      fun setUp() {
        socketFactory = SpecificHostSocketFactory(InetSocketAddress(server1.hostName, server1.port))
    
        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)
  9. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

              },
            ).build()
    
        // Set up a same-connection retry.
        serverIpv4.enqueue(
          MockResponse
            .Builder()
            .onRequestStart(CloseStream(ErrorCode.REFUSED_STREAM.httpCode))
            .build(),
        )
        serverIpv4.enqueue(
          MockResponse(body = "this was the 2nd request on IPv4"),
        )
        serverIpv6.enqueue(
          MockResponse(body = "unexpected call to IPv6"),
        )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

         */
        public fun doNotReadRequestBody(): Builder =
          apply {
            doNotReadRequestBody = true
            onResponseEnd = CloseStream(ErrorCode.NO_ERROR.httpCode)
          }
    
        /** Trigger [socketEffect] while reading the request body. */
        public fun onRequestBody(socketEffect: SocketEffect?): Builder =
          apply {
            this.onRequestBody = socketEffect
          }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top