- Sort Score
- Result 10 results
- Languages All
Results 1101 - 1110 of 2,062 for Watch (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
override fun onResponse( call: Call, response: Response, ) { val socket = try { checkUpgradeSuccess(response) } catch (e: IOException) { failWebSocket(e, response) response.closeQuietly() response.socket?.sink?.closeQuietly() response.socket?.source?.closeQuietly()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
docs/en/docs/reference/websockets.md
- iter_json - send_text - send_bytes - send_json - close When a client disconnects, a `WebSocketDisconnect` exception is raised, you can catch it. You can import it directly form `fastapi`: ```python from fastapi import WebSocketDisconnect ``` ::: fastapi.WebSocketDisconnect ## WebSockets - additional classesRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt
if (nextPlan != null) { routePlanner.deferredPlans.addFirst(nextPlan) continue } } return plan.handleSuccess() } catch (e: IOException) { if (firstException == null) { firstException = e } else { firstException.addSuppressed(e) } if (!routePlanner.hasNext()) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
while (i < contentLength()) { sink.write(chunk!!) sink.flush() Thread.sleep(100) i += chunk.size } } catch (e: IOException) { ioe = e } catch (e: InterruptedException) { throw RuntimeException(e) } } } @Test fun requestBodyMultipleFailuresReportedOnlyOnce() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 60.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
try { buildQuery("sort:timestamp.xxx"); fail(); } catch (InvalidQueryException e) { // ok } try { buildQuery("sort:aaa"); fail(); } catch (InvalidQueryException e) { // ok } } public void test_build_fuzzy() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt
*/ @JvmOverloads fun charset(defaultValue: Charset? = null): Charset? { val charset = parameter("charset") ?: return defaultValue return try { Charset.forName(charset) } catch (_: IllegalArgumentException) { defaultValue // This charset is invalid or unsupported. Give up. } } /** * Returns the parameter [name] of this media type, or null if this media type does not define
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:08 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
} @Test void testActivityTracking() { long initialTime = channelInfo.getLastActivityTime(); // Wait a bit and update activity try { Thread.sleep(10); } catch (InterruptedException e) { Thread.currentThread().interrupt(); } channelInfo.updateActivity(); assertTrue(channelInfo.getLastActivityTime() > initialTime);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
PreauthIntegrityNegotiateContext ctx = new PreauthIntegrityNegotiateContext(); try { setPrivateField(ctx, "hashAlgos", new int[] { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512 }); } catch (Exception e) { throw new RuntimeException(e); } return ctx; } private NegotiateContextRequest createMockEncryptionContext() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/exbhv/RoleBhv.java
.map(e -> new Pair<>(e.getKey(), (String) e.getValue())) .collect(Collectors.toMap(Pair::getFirst, Pair::getSecond))); return result; } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/FileAuthentication.java
final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class); try { fileConfig = fileConfigService.getFileConfig(getFileConfigId()).get(); } catch (final Exception e) { logger.warn("File Config {} does not exist.", getFileConfigId(), e); } } return fileConfig; } @Override public String toString() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.4K bytes - Viewed (0)