Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,225 for clientY (0.15 sec)

  1. okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api

    public final class okhttp3/dnsoverhttps/DnsOverHttps : okhttp3/Dns {
    	public static final field Companion Lokhttp3/dnsoverhttps/DnsOverHttps$Companion;
    	public static final field MAX_RESPONSE_SIZE I
    	public final fun client ()Lokhttp3/OkHttpClient;
    	public final fun includeIPv6 ()Z
    	public fun lookup (Ljava/lang/String;)Ljava/util/List;
    	public final fun post ()Z
    	public final fun resolvePrivateAddresses ()Z
    	public final fun resolvePublicAddresses ()Z
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 27 15:23:43 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt

    import okhttp3.RequestBody.Companion.asRequestBody
    
    class PostFile {
      private val client = OkHttpClient()
    
      fun run() {
        val file = File("README.md")
    
        val request =
          Request(
            url = "https://api.github.com/markdown/raw".toHttpUrl(),
            body = file.asRequestBody(MEDIA_TYPE_MARKDOWN),
          )
    
        client.newCall(request).execute().use { response ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/ConfigureTimeouts.kt

     * limitations under the License.
     */
    package okhttp3.recipes.kt
    
    import java.util.concurrent.TimeUnit
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class ConfigureTimeouts {
      private val client: OkHttpClient =
        OkHttpClient
          .Builder()
          .connectTimeout(5, TimeUnit.SECONDS)
          .writeTimeout(5, TimeUnit.SECONDS)
          .readTimeout(5, TimeUnit.SECONDS)
          .callTimeout(10, TimeUnit.SECONDS)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

      val clientTestRule = OkHttpClientTestRule()
    
      private var client = clientTestRule.newClientBuilder().build()
    
      @StartStop
      private val server = MockWebServer()
    
      val request by lazy { Request(server.url("/")) }
    
      @Test
      fun suspendCall() {
        runTest {
          server.enqueue(MockResponse(body = "abc"))
    
          val call = client.newCall(request)
    
          call.executeAsync().use {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmHttpFilterTest.java

        @Test
        void testInit_success() throws ServletException {
            // Test successful initialization with valid configuration
            Map<String, String> initParams = new HashMap<>();
            initParams.put("jcifs.smb.client.domain", "TEST_DOMAIN");
            initParams.put("jcifs.http.domainController", "dc.test.com");
            initParams.put("jcifs.http.enableBasic", "true");
            initParams.put("jcifs.http.insecureBasic", "true");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java

    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class CacheResponse {
      private final OkHttpClient client;
    
      public CacheResponse(File cacheDirectory) throws Exception {
        int cacheSize = 10 * 1024 * 1024; // 10 MiB
        Cache cache = new Cache(cacheDirectory, cacheSize);
    
        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
      public void run() throws Exception {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/request-form-models.md

    ///
    
    Puedes usar la configuración del modelo de Pydantic para `forbid` cualquier campo `extra`:
    
    {* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *}
    
    Si un cliente intenta enviar datos extra, recibirá un response de **error**.
    
    Por ejemplo, si el cliente intenta enviar los campos de formulario:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. docs/es/docs/deployment/https.md

    La primera parte de la comunicación es solo para establecer la conexión entre el cliente y el servidor y decidir las claves criptográficas que usarán, etc.
    
    <img src="/img/deployment/https/https02.drawio.svg">
    
    Esta interacción entre el cliente y el servidor para establecer la conexión TLS se llama **handshake TLS**.
    
    ### TLS con Extensión SNI
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    ```mermaid
    sequenceDiagram
    
    participant client as Client
    participant handler as Exceptionhandler
    participant dep as Abhängigkeit mit yield
    participant operation as Pfadoperation
    participant tasks as Hintergrundtasks
    
        Note over client,operation: Kann Exceptions auslösen, inklusive HTTPException
        client ->> dep: Startet den Request
        Note over dep: Führt den Code bis zum yield aus
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

     *     if (myConfig.isInvalid()) {
     *       return Response.Builder()
     *           .request(chain.request())
     *           .protocol(Protocol.HTTP_1_1)
     *           .code(400)
     *           .message("client config invalid")
     *           .body("client config invalid".toResponseBody(null))
     *           .build()
     *     }
     *
     *     return chain.proceed(chain.request())
     *   }
     * ```
     */
    fun interface Interceptor {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top