- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 1,115 for receive (0.12 seconds)
-
samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java
import okhttp3.mockwebserver.MockWebServer; import okhttp3.mockwebserver.RecordedRequest; import okio.ByteString; /** * Runs a MockWebServer on localhost and uses it as the backend to receive an OAuth session. * * <p>Clients should call {@link #start}, {@link #newAuthorizeUrl} and {@link #close} in that order. * Clients may request multiple sessions. */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 3.8K bytes - Click Count (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
import okhttp3.internal.toHeaders import okio.Buffer import okio.BufferedSource import okio.ByteString /** * A socket connection to a remote peer. A connection hosts streams which can send and receive * data. * * Many methods in this API are **synchronous:** the call is completed before the method returns. * This is typical for Java but atypical for HTTP/2. This is motivated by exception transparency:
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 31.8K bytes - Click Count (0) -
docs/en/docs/tutorial/response-status-code.md
/// The `status_code` parameter receives a number with the HTTP status code. /// info `status_code` can alternatively also receive an `IntEnum`, such as Python's <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>. ///
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/10_contributor_bug_report.yml
description: Create a report to help us improve labels: [ "a:bug", "to-triage" ] assignees: [ ] body: - type: markdown attributes: value: | Please follow the instructions below. We receive dozens of issues every week, so to stay productive, we will close issues that don't provide enough information.Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Sep 09 14:48:49 GMT 2024 - 3K bytes - Click Count (1) -
internal/s3select/jstream/scanner_test.go
break } if c != mockData { t.Fatalf("expected \"%s\", got \"%s\"", string(mockData), string(c)) } i++ } c := scanner.next() if scanner.readerErr == nil { t.Fatalf("failed to receive expected error after %d bytes", failAfter) } if c != byte(0) { t.Fatalf("expected null byte, got %v", c) } } func BenchmarkBufioScanner(b *testing.B) { b.Run("small", func(b *testing.B) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.1K bytes - Click Count (0) -
docs/en/docs/tutorial/sql-databases.md
/// tip This is how you would handle **passwords**. Receive them, but don't return them in the API. You would also **hash** the values of the passwords before storing them, **never store them in plain text**. /// The fields of `HeroCreate` are: * `name`
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 02 05:06:56 GMT 2025 - 15.8K bytes - Click Count (0) -
fastapi/routing.py
""" # assert asyncio.iscoroutinefunction(func), "WebSocket endpoints must be async" async def app(scope: Scope, receive: Receive, send: Send) -> None: session = WebSocket(scope, receive=receive, send=send) async def app(scope: Scope, receive: Receive, send: Send) -> None: async with AsyncExitStack() as request_stack: scope["fastapi_inner_astack"] = request_stackCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0) -
docs/en/docs/tutorial/middleware.md
/// ## Create a middleware { #create-a-middleware } To create a middleware you use the decorator `@app.middleware("http")` on top of a function. The middleware function receives: * The `request`. * A function `call_next` that will receive the `request` as a parameter. * This function will pass the `request` to the corresponding *path operation*. * Then it returns the `response` generated by the corresponding *path operation*.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.1K bytes - Click Count (0) -
docs/en/docs/advanced/middleware.md
A middleware doesn't have to be made for FastAPI or Starlette to work, as long as it follows the ASGI spec. In general, ASGI middlewares are classes that expect to receive an ASGI app as the first argument. So, in the documentation for third-party ASGI middlewares they will probably tell you to do something like: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp()
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.4K bytes - Click Count (0) -
guava/src/com/google/common/hash/PrimitiveSink.java
import com.google.common.annotations.Beta; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.nio.ByteBuffer; import java.nio.charset.Charset; /** * An object which can receive a stream of primitive values. * * @author Kevin Bourrillion * @since 12.0 (in 11.0 as {@code Sink}) */ @Beta public interface PrimitiveSink { /** * Puts a byte into this sink. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.9K bytes - Click Count (0)