Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 224 for handler (0.37 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        when (type) {
          TYPE_DATA -> readData(handler, length, flags, streamId)
          TYPE_HEADERS -> readHeaders(handler, length, flags, streamId)
          TYPE_PRIORITY -> readPriority(handler, length, flags, streamId)
          TYPE_RST_STREAM -> readRstStream(handler, length, flags, streamId)
          TYPE_SETTINGS -> readSettings(handler, length, flags, streamId)
          TYPE_PUSH_PROMISE -> readPushPromise(handler, length, flags, streamId)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  2. internal/grid/README.md

    From this connection individual requests can be made.
    
    Each handler, with optional subroutes can be registered with the manager using 
    `Manager.RegisterXHandler(handlerID, handler, subroutes...)`.
    
    A `Handler()` function provides an HTTP handler, which should be hooked up to the appropriate route on the server.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/CliFe10AnalysisFacade.kt

                facade = this,
                handler.resolveSession.orThrowResolutionNotPerformedError(),
                handler.deprecationResolver.orThrowResolutionNotPerformedError(),
                handler.callResolver.orThrowResolutionNotPerformedError(),
                handler.kotlinToResolvedCallTransformer.orThrowResolutionNotPerformedError(),
                handler.overloadingConflictResolver.orThrowResolutionNotPerformedError(),
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Jan 26 16:20:19 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/handling-errors.md

    And it also includes a default exception handler for it.
    
    To override it, import the `RequestValidationError` and use it with `@app.exception_handler(RequestValidationError)` to decorate the exception handler.
    
    The exception handler will receive a `Request` and the exception.
    
    ```Python hl_lines="2  14-16"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/node/v1beta1/generated.proto

      // handler specifies the underlying runtime and configuration that the CRI
      // implementation will use to handle pods of this class. The possible values
      // are specific to the node & CRI configuration.  It is assumed that all
      // handlers are available on every node, and handlers of the same name are
      // equivalent on every node.
      // For example, a handler called "runc" might specify that the runc OCI
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/handling-errors.md

    Sie könnten einen benutzerdefinierten Exceptionhandler mittels `@app.exception_handler()` hinzufügen:
    
    ```Python hl_lines="5-7  13-18  24"
    {!../../../docs_src/handling_errors/tutorial003.py!}
    ```
    
    Wenn Sie nun `/unicorns/yolo` anfragen, `raise`d die *Pfadoperation* eine `UnicornException`.
    
    Aber diese wird von `unicorn_exception_handler` gehandhabt.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:29 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

        opt raise
            dep -->> handler: Raise HTTPException
            handler -->> client: HTTP error response
            dep -->> dep: Raise other exception
        end
        dep ->> operation: Run dependency, e.g. DB session
        opt raise
            operation -->> dep: Raise HTTPException
            dep -->> handler: Auto forward exception
            handler -->> client: HTTP error response
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 04:21:06 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    participant client as Client
    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  9. docs/lambda/README.md

    ## Example Lambda handler
    
    Install the necessary dependencies.
    ```sh
    pip install flask requests
    ```
    
    Following is an example lambda handler.
    ```py
    from flask import Flask, request, abort, make_response
    import requests
    
    app = Flask(__name__)
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 04 19:15:28 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

        opt raise
            operation -->> dep: Raise HTTPException
            dep -->> handler: Auto forward exception
            handler -->> client: HTTP error response
            operation -->> dep: Raise other exception
            dep -->> handler: Auto forward exception
        end
        operation ->> client: Return response to client
        Note over client,operation: Response is already sent, can't change it anymore
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top