- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 72 for reconnect (0.48 seconds)
-
src/test/java/org/codelibs/curl/CurlRequestTest.java
// Setting onConnect to null should work request.onConnect(null); assertNotNull(request); } @Test public void testMultipleOnConnectCalls() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); // Multiple onConnect calls should work (last one wins) request.onConnect((req, conn) -> conn.setConnectTimeout(1000));Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 24.7K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
mockHolder[0] = mock; return mock; }); req.timeout(3000, 5000); // onConnect runs AFTER timeout, so it can override req.onConnect((r, conn) -> { conn.setReadTimeout(9999); onConnectReadTimeout.set(conn.getReadTimeout()); }); // ## Act ##
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt
} class DelayingSocketFactory( val onConnect: Socket.(timeout: Int) -> Unit = {}, val onRead: Socket.() -> Unit = {}, val onWrite: Socket.() -> Unit = {}, ) : DelegatingSocketFactory(getDefault()) { override fun createSocket(): Socket { return object : Socket() { override fun connect( endpoint: SocketAddress?, timeout: Int, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 28.8K bytes - Click Count (0) -
fastapi/security/open_id_connect_url.py
from starlette.requests import Request from starlette.status import HTTP_401_UNAUTHORIZED class OpenIdConnect(SecurityBase): """ OpenID Connect authentication class. An instance of it would be used as a dependency. **Warning**: this is only a stub to connect the components with OpenAPI in FastAPI, but it doesn't implement the full OpenIdConnect scheme, for example, it doesn't use
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
/** OpenID Connect client ID. */ @Size(max = 1000) public String oicClientId; /** OpenID Connect client secret. */ @Size(max = 1000) public String oicClientSecret; /** OpenID Connect authorization server URL. */ @Size(max = 1000) public String oicAuthServerUrl; /** OpenID Connect token server URL. */ @Size(max = 1000)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 15.8K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
/** * Sets the connection builder for customizing the connection. * * @param connectionBuilder the connection builder * @return this CurlRequest instance */ public CurlRequest onConnect(final BiConsumer<CurlRequest, HttpURLConnection> connectionBuilder) { this.connectionBuilder = connectionBuilder; return this; } /** * Adds a request parameter. *Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 19.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
"encrypted response from the origin server", ) val connect = server.takeRequest() assertThat(connect.headers["Private"]).isNull() assertThat(connect.headers["User-Agent"]).isEqualTo(USER_AGENT) assertThat(connect.headers["Proxy-Connection"]).isEqualTo("Keep-Alive") assertThat(connect.headers["Host"]).isEqualTo("android.com:443") val get = server.takeRequest()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
/** * Returns the `Call` to which this chain belongs. */ fun call(): Call /** * Returns the connect timeout in milliseconds. */ fun connectTimeoutMillis(): Int /** * Returns a new chain with the specified connect timeout. */ fun withConnectTimeout( timeout: Int, unit: TimeUnit, ): Chain /**Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 8.9K bytes - Click Count (0) -
docs/features/connections.md
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 5.4K bytes - Click Count (0) -
docs/en/docs/tutorial/server-sent-events.md
/// note `data` and `raw_data` are mutually exclusive. You can only set one of them on each `ServerSentEvent`. /// ## Resuming with `Last-Event-ID` { #resuming-with-last-event-id } When a browser reconnects after a connection drop, it sends the last received `id` in the `Last-Event-ID` header. You can read it as a header parameter and use it to resume the stream from where the client left off:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.6K bytes - Click Count (0)