- Sort Score
- Num 10 results
- Language All
Results 511 - 520 of 2,008 for client (0.05 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.Response class AsynchronousGet { private val client = OkHttpClient() fun run() { val request = Request .Builder() .url("http://publicobject.com/helloworld.txt") .build() client.newCall(request).enqueue( object : Callback { override fun onFailure( call: Call,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.6K bytes - Click Count (0) -
tests/test_security_http_basic_realm_description.py
client = TestClient(app) def test_security_http_basic(): response = client.get("/users/me", auth=("john", "secret")) assert response.status_code == 200, response.text assert response.json() == {"username": "john", "password": "secret"} def test_security_http_basic_no_credentials(): response = client.get("/users/me")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.9K bytes - Click Count (0) -
docs/en/docs/advanced/websockets.md
<div class="termy"> ```console $ pip install websockets ---> 100% ``` </div> ## WebSockets client { #websockets-client } ### In production { #in-production } In your production system, you probably have a frontend created with a modern framework like React, Vue.js or Angular.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 5.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt
@JvmField val RESTRICTED_TLS = Builder(true) .cipherSuites(*RESTRICTED_CIPHER_SUITES.toTypedArray()) .tlsVersions(TlsVersion.TLS_1_3, TlsVersion.TLS_1_2) .supportsTlsExtensions(true) .build() /** * A modern TLS configuration that works on most client platforms and can connect to most servers.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 10 09:36:53 GMT 2026 - 13.5K bytes - Click Count (0) -
docs/en/docs/reference/testclient.md
# Test Client - `TestClient` You can use the `TestClient` class to test FastAPI applications without creating an actual HTTP and socket connection, just communicating directly with the FastAPI code. Read more about it in the [FastAPI docs for Testing](https://fastapi.tiangolo.com/tutorial/testing/). You can import it directly from `fastapi.testclient`: ```python from fastapi.testclient import TestClient ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 450 bytes - Click Count (0) -
tests/test_security_scopes_dont_propagate.py
app = FastAPI() @app.get("/scopes") def get_scopes( dep3: Annotated[dict[str, Any], Security(dep3, scopes=["scope3"])], ): return dep3 client = TestClient(app) def test_security_scopes_dont_propagate(): response = client.get("/scopes") assert response.status_code == 200 assert response.json() == { "dep1": ["scope3", "scope1"], "dep2": ["scope3", "scope2"],
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 973 bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
fastFallback = client.fastFallback, address = chain.address(request.url), routeDatabase = client.routeDatabase, call = this, request = request, ) this.exchangeFinder = when { client.fastFallback -> FastFallbackExchangeFinder(routePlanner, client.taskRunner) else -> SequentialExchangeFinder(routePlanner) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 19.5K bytes - Click Count (0) -
okhttp/Module.md
# Module okhttp
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Apr 02 11:27:49 GMT 2019 - 74 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
this.queryFreqThreshold = queryFreqThreshold; } @Override protected void processRequest(final Client client, final Deferred<PopularWordsResponse> deferred) { final SearchRequestBuilder builder = client.prepareSearch(index); builder.setSize(size); builder.setQuery(buildQuery()); builder.setRescorer(buildRescore(), windowSize);Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Aug 07 02:41:28 GMT 2025 - 9.2K bytes - Click Count (0) -
docs/en/docs/tutorial/body.md
# Request Body { #request-body } When you need to send data from a client (let's say, a browser) to your API, you send it as a **request body**. A **request** body is data sent by the client to your API. A **response** body is the data your API sends to the client.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.5K bytes - Click Count (0)