- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 2,036 for Client (0.9 sec)
-
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
private final OkHttpClient client; private final Set<HttpUrl> fetchedUrls = Collections.synchronizedSet(new LinkedHashSet<>()); private final BlockingQueue<HttpUrl> queue; private final ConcurrentHashMap<String, AtomicInteger> hostnames = new ConcurrentHashMap<>(); private final int hostLimit; public Crawler(OkHttpClient client, int queueLimit, int hostLimit) { this.client = client;
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jul 23 00:58:06 UTC 2025 - 5K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008d.py
return mod def test_get_no_item(mod: ModuleType): client = TestClient(mod.app) response = client.get("/items/foo") assert response.status_code == 404, response.text assert response.json() == {"detail": "Item not found, there's only a plumbus here"} def test_get(mod: ModuleType): client = TestClient(mod.app) response = client.get("/items/plumbus") assert response.status_code == 200, response.textRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.4K bytes - Viewed (0) -
tests/test_wrapped_method_forward_reference.py
references. """ app = FastAPI() client = TestClient(app) app.post("/endpoint")(passthrough(forwardref_method)) app.post("/endpoint2")(passthrough(passthrough(forwardref_method))) with client: response = client.post("/endpoint", json={"input": {"x": 0}}) response2 = client.post("/endpoint2", json={"input": {"x": 0}})Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 02 17:23:14 UTC 2025 - 997 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
/** * Constructor for ESSourceReader. * @param client The OpenSearch client. * @param settings The SuggestSettings instance. * @param indexName The name of the index to read from. */ public ESSourceReader(final Client client, final SuggestSettings settings, final String indexName) { this.client = client; this.settings = settings; this.indexName = indexName;Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.opensearch.index.query.QueryBuilders; import org.opensearch.transport.client.Client; public class SuggestUtilTest { private static OpenSearchRunner runner; private static Client client; private static SuggestSettings settings; private static final String TEST_INDEX = "test_suggest_util"; @BeforeClassRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
@Test fun forciblyStopDispatcher() { client = client .newBuilder() .fastFallback(true) .build() val callFailure = CompletableFuture<Exception>() server.enqueue( MockResponse() .setSocketPolicy(SocketPolicy.STALL_SOCKET_AT_START), ) server.start() val call = client.newCall( Request .Builder()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 18:33:48 UTC 2025 - 6.4K bytes - Viewed (0) -
tests/test_sub_callbacks.py
client = TestClient(app) def test_get(): response = client.post( "/invoices/", json={"id": "fooinvoice", "customer": "John", "total": 5.3} ) assert response.status_code == 200, response.text assert response.json() == {"msg": "Invoice received"} def test_openapi_schema(): with client: response = client.get("/openapi.json")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 12.9K bytes - Viewed (0) -
internal/config/identity/openid/provider/keycloak.go
Expiry int `json:"expires_in"` } // KeycloakProvider implements Provider interface for KeyCloak Identity Provider. type KeycloakProvider struct { sync.Mutex oeConfig DiscoveryDoc client http.Client adminURL string realm string // internal value refreshed accessToken Token } // LoginWithUser authenticates username/password, not needed for Keycloak
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jul 14 18:12:07 UTC 2024 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
Files.writeString(jcifsPropertiesPath, "jcifs.smb.client.nativeOs=FileOS"); System.setProperty("jcifs.properties", jcifsPropertiesPath.toString()); System.setProperty("jcifs.smb.client.nativeOs", "SystemOS"); Properties customProps = new Properties(); customProps.setProperty("jcifs.smb.client.nativeOs", "CustomOS"); SingletonContext.init(customProps);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
docs_src/dependency_testing/tutorial001_an_py39.py
return {"message": "Hello Users!", "params": commons} client = TestClient(app) async def override_dependency(q: Union[str, None] = None): return {"q": q, "skip": 5, "limit": 10} app.dependency_overrides[common_parameters] = override_dependency def test_override_in_items(): response = client.get("/items/") assert response.status_code == 200 assert response.json() == {Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 1.5K bytes - Viewed (0)