- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 426 for SEND (0.02 seconds)
-
src/main/java/jcifs/smb/SmbTreeImpl.java
} <T extends CommonServerMessageBlockResponse> T send(final CommonServerMessageBlockRequest request, final T response) throws CIFSException { return send(request, response, Collections.<RequestParam> emptySet()); } <T extends CommonServerMessageBlockResponse> T send(final CommonServerMessageBlockRequest request, final T response,Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
lenient().when(fh.isValid()).thenReturn(true); lenient().when(fh.getTree()).thenReturn(tree); when(fh.getFid()).thenReturn(99); // Mock send to just echo the provided response instance when(tree.send(any(TransTransactNamedPipe.class), any(TransTransactNamedPipeResponse.class), eq(RequestParam.NO_RETRY))) .thenAnswer(inv -> inv.getArgument(1));
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
Smb2CreateResponse createResp; try { createResp = th.send(create); } catch (final SmbException e) { final Smb2CreateResponse cr = create.getResponse(); if (cr != null && cr.isReceived() && cr.getStatus() == NtStatus.NT_STATUS_SUCCESS) { try { th.send(new Smb2CloseRequest(th.getConfig(), cr.getFileId()));Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP); when(locator.getURL()).thenReturn(createSmbURL("smb://")); // Mock successful but empty response when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> { // The response is the second argument Object response = invocation.getArgument(1);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
tests/test_ws_router.py
@functools.wraps(app) async def wrapped_app(scope, receive, send): if scope["type"] != "websocket": return await app(scope, receive, send) # pragma: no cover async def call_next(): return await app(scope, receive, send) websocket = WebSocket(scope, receive=receive, send=send) return await middleware_func(websocket, call_next)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Jun 11 19:08:14 GMT 2023 - 7.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
override fun send(text: String): Boolean = send(text.encodeUtf8(), OPCODE_TEXT) override fun send(bytes: ByteString): Boolean = send(bytes, OPCODE_BINARY) @Synchronized private fun send( data: ByteString, formatOpcode: Int, ): Boolean { // Don't send new frames after we've failed or enqueued a close frame.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 21.6K bytes - Click Count (0) -
fastapi/security/api_key.py
with the API key and integrates that into the OpenAPI documentation. It extracts the key value sent in the query parameter automatically and provides it as the dependency result. But it doesn't define how to send that API key to the client. ## Usage Create an instance object and use that object as the dependency in `Depends()`. The dependency result will be a string containing the key value. ## ExampleCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 9.6K bytes - Click Count (1) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
// For now, we're preparing the request structure correctly // TODO: Integration point - send request through session.send() // Smb2IoctlResponse response = (Smb2IoctlResponse) session.send(request); // if (response.isSuccess()) { // parseNetworkInterfaces(response.getOutputData()); // }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 20K bytes - Click Count (0) -
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py
...
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8.6K bytes - Click Count (0) -
docs/en/docs/reference/websockets.md
# WebSockets When defining WebSockets, you normally declare a parameter of type `WebSocket` and with it you can read data from the client and send data to it. It is provided directly by Starlette, but you can import it from `fastapi`: ```python from fastapi import WebSocket ``` /// tip
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Aug 06 04:48:30 GMT 2024 - 1.7K bytes - Click Count (0)