Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 342 for routes (0.04 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        responseBody = Buffer().asResponseBody(null, 0L)
      }
    
      @Test
      fun route() {
        val route: Route = factory.newRoute()
        val address: Address = route.address
        val proxy: Proxy = route.proxy
        val inetSocketAddress: InetSocketAddress = route.socketAddress
        val requiresTunnel: Boolean = route.requiresTunnel()
      }
    
      @Test
      fun socketPolicy() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  2. docs/fr/docs/tutorial/dependencies/index.md

    ///
    
    ## Intégrer à OpenAPI { #integrated-with-openapi }
    
    Toutes les déclarations de requête, validations et exigences de vos dépendances (et sous-dépendances) seront intégrées dans le même schéma OpenAPI.
    
    Ainsi, la documentation interactive contiendra aussi toutes les informations issues de ces dépendances :
    
    <img src="/img/tutorial/dependencies/image01.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/eventbus/EventBus.java

     *
     * <h2>Posting Events</h2>
     *
     * <p>To post an event, simply provide the event object to the {@link #post(Object)} method. The
     * EventBus instance will determine the type of event and route it to all registered listeners.
     *
     * <p>Events are routed based on their type &mdash; an event will be delivered to any subscriber for
     * any type to which the event is assignable. This includes implemented interfaces, all
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.7K bytes
    - Click Count (0)
  4. docs/fr/docs/advanced/middleware.md

    ## `HTTPSRedirectMiddleware` { #httpsredirectmiddleware }
    
    Impose que toutes les requêtes entrantes soient soit `https`, soit `wss`.
    
    Toute requête entrante en `http` ou `ws` sera redirigée vers le schéma sécurisé correspondant.
    
    {* ../../docs_src/advanced_middleware/tutorial001_py310.py hl[2,6] *}
    
    ## `TrustedHostMiddleware` { #trustedhostmiddleware }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  5. docs/de/docs/how-to/separate-openapi-schemas.md

    Für `Item-Input` ist `description` **nicht erforderlich**, es hat kein rotes Sternchen.
    
    Aber für `Item-Output` ist `description` **erforderlich**, es hat ein rotes Sternchen.
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image04.png">
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

       * CONNECT tunnels. Note that CONNECT tunnels are significantly less capable than connections.
       */
      interface Carrier {
        val route: Route
    
        fun trackFailure(
          call: RealCall,
          e: IOException?,
        )
    
        fun noNewExchanges()
    
        fun cancel()
      }
    
      companion object {
        /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 21:11:09 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        )
    
        // logically different scope of client for route db
        assertNotSame(
          client.routeDatabase,
          client
            .newBuilder()
            .dns { listOf() }
            .build()
            .routeDatabase,
        )
        assertNotSame(
          client.routeDatabase,
          client
            .newBuilder()
            .proxyAuthenticator { _: Route?, _: Response? -> null }
            .build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 13.4K bytes
    - Click Count (1)
  8. docs_src/custom_request_and_route/tutorial002_py310.py

                    detail = {"errors": exc.errors(), "body": body.decode()}
                    raise HTTPException(status_code=422, detail=detail)
    
            return custom_route_handler
    
    
    app = FastAPI()
    app.router.route_class = ValidationErrorLoggingRoute
    
    
    @app.post("/")
    async def sum_numbers(numbers: list[int] = Body()):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 935 bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/DoubleInetAddressDns.kt

     * limitations under the License.
     */
    package okhttp3.internal
    
    import java.net.InetAddress
    import okhttp3.Dns
    
    /**
     * A network that always resolves two IP addresses per host. Use this when testing route selection
     * fallbacks to guarantee that a fallback address is available.
     */
    class DoubleInetAddressDns : Dns {
      override fun lookup(hostname: String): List<InetAddress> {
        val addresses = Dns.SYSTEM.lookup(hostname)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1K bytes
    - Click Count (0)
  10. tests/test_sse.py

    async def sse_items_raw():
        yield ServerSentEvent(raw_data="plain text without quotes")
        yield ServerSentEvent(raw_data="<div>html fragment</div>", event="html")
        yield ServerSentEvent(raw_data="cpu,87.3,1709145600", event="csv")
    
    
    router = APIRouter()
    
    
    @router.get("/events", response_class=EventSourceResponse)
    async def stream_events():
        yield {"msg": "hello"}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
Back to Top