Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for describe (0.23 sec)

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

    import okhttp3.internal.commonParameter
    import okhttp3.internal.commonToMediaType
    import okhttp3.internal.commonToMediaTypeOrNull
    import okhttp3.internal.commonToString
    
    /**
     * An [RFC 2045][rfc_2045] Media Type, appropriate to describe the content type of an HTTP request
     * or response body.
     *
     * [rfc_2045]: http://tools.ietf.org/html/rfc2045
     */
    class MediaType internal constructor(
      internal val mediaType: String,
      /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

            if (versionMatcher.matches(PlatformVersion)) {
              val description = StringDescription()
              versionMatcher.describeTo(description)
              description.appendText(" expected to fail with exception that ")
              failureMatcher.describeTo(description)
    
              fail<Any>(description.toString())
            }
          }
        }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        // Note that this may be be an encoded "end of data" header.
        return DerHeader(tagClass, tag, constructed, length)
      }
    
      /**
       * Consume a header and execute [block], which should consume the entire value described by the
       * header. It is an error to not consume a full value in [block].
       */
      internal inline fun <T> read(
        name: String?,
        block: (DerHeader) -> T,
      ): T {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. docs/recipes.md

    `MultipartBody.Builder` can build sophisticated request bodies compatible with HTML file upload forms. Each part of a multipart request body is itself a request body, and can define its own headers. If present, these headers should describe the part body, such as its `Content-Disposition`. The `Content-Length` and `Content-Type` headers are added automatically if they're available.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    /**
     * Settings describe characteristics of the sending peer, which are used by the receiving peer.
     * Settings are [connection][Http2Connection] scoped.
     */
    class Settings {
      /** Bitfield of which flags that values. */
      private var set: Int = 0
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/bug_report.md

    ---
    name: Bug report
    about: A reproducible problem
    title: ''
    labels: bug
    assignees: ''
    
    ---
    
    Good bug reports include a failing test! Writing a test helps you to isolate and describe the problem, and it helps us to fix it fast. Bug reports without a failing test or reproduction steps are likely to be closed.
    
    Here’s an example test to get you started.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 30 22:44:40 GMT 2018
    - 412 bytes
    - Viewed (0)
  7. docs/features/events.md

    Subclass [EventListener](https://square.github.io/okhttp/3.x/okhttp/okhttp3/EventListener.html) and override methods for the events you are interested in. In a successful HTTP call with no redirects or retries the sequence of events is described by this flow.
    
    ![Events Diagram](../assets/images/******@****.***)
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

      }
    
      fun retryAfterFailure(): Boolean {
        return exchange?.hasFailure == true &&
          exchangeFinder!!.routePlanner.hasNext(exchange?.connection)
      }
    
      /**
       * Returns a string that describes this call. Doesn't include a full URL as that might contain
       * sensitive information.
       */
      private fun toLoggableString(): String {
        return (
          (if (isCanceled()) "canceled " else "") +
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  9. docs/changelogs/changelog_2x.md

     * Use a string to identify TLS versions in routes.
     * Add frame logger for HTTP/2.
     * Replacing `httpMinorVersion` with `Protocol`. Expose HTTP/1.0 as a potential protocol.
     * Use `Protocol` to describe framing.
     * Implement write timeouts for HTTP/1.1 streams.
     * Avoid use of SPDY stream ID 1, as that's typically used for UPGRADE.
     * Support OAuth in `Authenticator`.
     * Permit a dangling semicolon in media type parsing.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  10. docs/contribute/concurrency.md

    Concurrency
    ===========
    
    This document describes the concurrency considerations for http/2 connections and the connection pool within OkHttp.
    
    ## HTTP/2 Connections
    
    The HttpURLConnection API is a blocking API. You make a blocking write to send a request, and a blocking read to receive the response.
    
    #### Blocking APIs
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
Back to top