- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 2,028 for Client (0.1 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt
import okhttp3.Request class PostForm { private val client = OkHttpClient() fun run() { val formBody = FormBody .Builder() .add("search", "Jurassic Park") .build() val request = Request( url = "https://en.wikipedia.org/w/index.php".toHttpUrl(), body = formBody, ) client.newCall(request).execute().use { response ->Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt
import java.io.IOException import okhttp3.OkHttpClient import okhttp3.Request class SynchronousGet { private val client = OkHttpClient() fun run() { val request = Request .Builder() .url("https://publicobject.com/helloworld.txt") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response")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) -
docs/SMB3_IMPLEMENTATION_PLAN.md
```properties # Lease configuration jcifs.smb.client.useLeases=true jcifs.smb.client.leaseTimeout=30000 # Persistent handles jcifs.smb.client.usePersistentHandles=true jcifs.smb.client.durableTimeout=120000 # Multi-channel jcifs.smb.client.useMultiChannel=true jcifs.smb.client.maxChannels=4 jcifs.smb.client.channelBindingPolicy=required # Directory leasing jcifs.smb.client.useDirectoryLeasing=true
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 10.7K bytes - Click Count (0) -
internal/etag/etag.go
// S3 client. // // # S3 Clients // // There are many different S3 client implementations. Most of them // access the ETag by looking for the HTTP response header key "Etag". // However, some of them assume that the header key has to be "ETag" // (case-sensitive) and will fail otherwise. // Further, some clients require that the ETag value is a double-quoted
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 13.2K bytes - Click Count (0) -
tests/test_dependency_pep695.py
) def test_pep695_type_dependencies(): app = FastAPI() @app.get("/") async def get_with_dep(value: DependedValue) -> str: # noqa return f"value: {value}" client = TestClient(app) response = client.get("/") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 18:34:34 GMT 2026 - 628 bytes - Click Count (0) -
okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java
private OkHttpClient client = clientTestRule.newClient(); @Test public void tagsSeededFromRequest() { Request request = new Request.Builder() .url(HttpUrl.get("https://square.com/")) .tag(Integer.class, 5) .tag(String.class, "hello") .build(); Call call = client.newCall(request); assertEquals(5, call.tag(Integer.class));
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Oct 26 14:54:46 GMT 2025 - 1.7K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt
import okhttp3.Request import okhttp3.RequestBody.Companion.asRequestBody import okio.Path.Companion.toPath import okio.buffer import okio.fakefilesystem.FakeFileSystem class PostPath { private val client = OkHttpClient() private val fileSystem = FakeFileSystem() val path = "test.json".toPath() fun run() { fileSystem.write(path) { writeUtf8("{}") } val request = RequestCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
final CrawlerClient client = crawlerClientFactory.getClient(url); if (client == null) { throw new FessSystemException("No CrawlerClient: " + configId + ", url: " + url); } return writeContent(configId, url, client); } /** * Writes content from a crawler client to a stream response. * * @param configId the configuration ID
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java
final LlmClientManager llmClientManager = ComponentUtil.getComponent("llmClientManager"); for (final LlmClient client : llmClientManager.getClients()) { final Map<String, String> map = new HashMap<>(); map.put(Constants.ITEM_LABEL, client.getName()); map.put(Constants.ITEM_VALUE, client.getName()); itemList.add(map); } return itemList; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 05:54:31 GMT 2026 - 27.2K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py
async def read_admin(): return {"message": "Admin Access"} client = TestClient(app) def test_read_admin(): response = client.get("/admin", headers={"Authorization": "Bearer faketoken"}) assert response.status_code == 200, response.text assert response.json() == {"message": "Admin Access"} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.6K bytes - Click Count (0)