Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 246 for deflate (0.3 sec)

  1. 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
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/net/http/cookiejar/jar.go

    	host, err := canonicalHost(u.Host)
    	if err != nil {
    		return
    	}
    	key := jarKey(host, j.psList)
    	defPath := defaultPath(u.Path)
    
    	j.mu.Lock()
    	defer j.mu.Unlock()
    
    	submap := j.entries[key]
    
    	modified := false
    	for _, cookie := range cookies {
    		e, remove, err := j.newEntry(cookie, now, defPath, host)
    		if err != nil {
    			continue
    		}
    		id := e.id()
    		if remove {
    			if submap != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/body.md

    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## Declare como um parâmetro
    
    Para adicionar o corpo na *função de operação de rota*, declare-o da mesma maneira que você declarou parâmetros de rota e consulta:
    
    ```Python hl_lines="18"
    {!../../../docs_src/body/tutorial001.py!}
    ```
    
    ...E declare o tipo como o modelo que você criou, `Item`.
    
    ## Resultados
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/InternalTransformer.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal;
    
    /**
     * Equivalent to {@code Transformer}, but does not declare nullability due to Java 6 restrictions.
     *
     * <p>A {@code Transformer} transforms objects of type.</p>
     *
     * <p>Implementations are free to return new objects or mutate the incoming value.</p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinForwardDeclarationProviderFactory.kt

    public abstract class KotlinForwardDeclarationProviderFactory : KotlinOptionalPlatformComponent {
        /**
         * Create a Kotlin/Native declaration provider for [ktModule].
         *
         * Generally, only Kotlin/Native KLIB libraries can declare forward declarations.
         * For other types of [KtModule]s the provider normally shouldn't be created.
         *
         * @return a declaration provider for [ktModule] or `null` if the module cannot contain forward declarations
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/index.md

    ## What is "Dependency Injection"
    
    **"Dependency Injection"** means, in programming, that there is a way for your code (in this case, your *path operation functions*) to declare things that it requires to work and use: "dependencies".
    
    And then, that system (in this case **FastAPI**) will take care of doing whatever is needed to provide your code with those needed dependencies ("inject" the dependencies).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/build_services.adoc

    2. Annotate the property with `@Internal` or `@ServiceReference` (since 8.0).
    3. Assign a shared build service provider to the property (optional, when using `@ServiceReference(<serviceName>)`).
    4. Declare the association between the task and the service so Gradle can properly honor the build service lifecycle and its usage constraints (also optional when using `@ServiceReference`).
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:10 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/events.md

    These functions can be declared with `async def` or normal `def`.
    
    ### `startup` event
    
    To add a function that should be run before the application starts, declare it with the event `"startup"`:
    
    ```Python hl_lines="8"
    {!../../../docs_src/events/tutorial001.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceScopeValidator.java

            );
        }
    
        private String missingScopeMessage(Class<?> serviceType) {
            return String.format(
                "The service '%s' is registered in the '%s' scope but does not declare it. " +
                    "Add the '@ServiceScope()' annotation on '%s' with the '%s' scope.",
                serviceType.getName(), scope.getSimpleName(), serviceType.getSimpleName(), scope.getSimpleName()
            );
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/features/kube_features.go

    	// across UPDATE/PATCH requests.
    	CRDValidationRatcheting featuregate.Feature = "CRDValidationRatcheting"
    
    	// owner: @jpbetz
    	// alpha: v1.30
    	//
    	// CustomResourceDefinitions may include SelectableFields to declare which fields
    	// may be used as field selectors.
    	CustomResourceFieldSelectors featuregate.Feature = "CustomResourceFieldSelectors"
    )
    
    func init() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:53:03 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top