- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,942 for client (0.06 sec)
-
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
fun build(): DnsOverHttps { val client = this.client ?: throw NullPointerException("client not set") return DnsOverHttps( client.newBuilder().dns(buildBootstrapClient(this)).build(), checkNotNull(url) { "url not set" }, includeIPv6, post, resolvePrivateAddresses, resolvePublicAddresses, ) } fun client(client: OkHttpClient) = apply {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Oct 31 09:27:31 UTC 2024 - 9.8K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
func run(c *cobra.Command, ctx cli.Context, args []string) error { log.Debugf("metrics command invoked for workload(s): %v", args) client, err := ctx.CLIClientWithRevision(metricsOpts.Revision) if err != nil { return fmt.Errorf("failed to create k8s client: %v", err) } pl, err := client.PodsForSelector(context.TODO(), ctx.IstioNamespace(), "app.kubernetes.io/name=prometheus") if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java
protected static String[] defaultWords = null; protected BadWordSettings(final SuggestSettings settings, final Client client, final String settingsIndexName, final String settingsId) { arraySettings = new ArraySettings(settings, client, settingsIndexName, settingsId) { @Override protected String createArraySettingsIndexName(final String settingsIndexName) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/de/docs/tutorial/handling-errors.md
# Fehlerbehandlung Es gibt viele Situationen, in denen Sie einem Client, der Ihre API benutzt, einen Fehler zurückgeben müssen. Dieser Client könnte ein Browser mit einem Frontend, Code von jemand anderem, ein <abbr title="Internet of Things – Internet der Dinge: Geräte, die über das Internet Informationen austauschen">IoT</abbr>-Gerät, usw., sein. Sie müssten beispielsweise einem Client sagen:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.6K bytes - Viewed (0) -
docs_src/app_testing/app_b/test_main.py
from .main import app client = TestClient(app) def test_read_item(): response = client.get("/items/foo", headers={"X-Token": "coneofsilence"}) assert response.status_code == 200 assert response.json() == { "id": "foo", "title": "Foo", "description": "There goes my hero", } def test_read_item_bad_token():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 1.8K bytes - Viewed (0) -
docs_src/app_testing/app_b_an_py39/test_main.py
from .main import app client = TestClient(app) def test_read_item(): response = client.get("/items/foo", headers={"X-Token": "coneofsilence"}) assert response.status_code == 200 assert response.json() == { "id": "foo", "title": "Foo", "description": "There goes my hero", } def test_read_item_bad_token():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 15 22:31:16 UTC 2024 - 1.8K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py
import pytest from fastapi.testclient import TestClient from ...utils import needs_pydanticv1 @pytest.fixture(name="client") def get_client(): from docs_src.path_operation_advanced_configuration.tutorial007_pv1 import app client = TestClient(app) return client @needs_pydanticv1 def test_post(client: TestClient): yaml_data = """ name: Deadpoolio tags: - x-force - x-men
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.2K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/SampleTest.kt
server.enqueue(MockResponse(body = "abc")) val client = clientRule.newClient() client.newCall(Request(url = server.url("/"))).execute().use { assertThat(it.body.string()).isEqualTo("abc") } } @Test fun testExternalSite() { val client = clientRule.newClient() client.newCall(Request(url = "https://google.com/robots.txt".toHttpUrl())).execute().use {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0) -
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py39.py
client = TestClient(app, cookies=cookies) response = client.get(path) assert response.status_code == expected_status assert response.json() == expected_response @needs_py39 def test_openapi_schema(): from docs_src.cookie_params.tutorial001_an_py39 import app client = TestClient(app) response = client.get("/openapi.json")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
import org.codelibs.core.lang.StringUtil; import org.codelibs.core.lang.SystemUtil; import org.codelibs.fess.crawler.builder.RequestDataBuilder; import org.codelibs.fess.crawler.client.CrawlerClient; import org.codelibs.fess.crawler.client.CrawlerClientFactory; import org.codelibs.fess.crawler.container.CrawlerContainer; import org.codelibs.fess.crawler.entity.AccessResult; import org.codelibs.fess.crawler.entity.RequestData;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 15.5K bytes - Viewed (0)