Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 7,542 for use$ (0.03 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

        val response1Body =
          client.newCall(request).execute().use {
            if (!it.isSuccessful) throw IOException("Unexpected code $it")
    
            println("Response 1 response:          $it")
            println("Response 1 cache response:    ${it.cacheResponse}")
            println("Response 1 network response:  ${it.networkResponse}")
            return@use it.body.string()
          }
    
        val response2Body =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

     * migrate between certificate authorities. Do not use certificate pinning without the blessing of
     * your server's TLS administrator!
     *
     * ### Note about self-signed certificates
     *
     * [CertificatePinner] can not be used to pin self-signed certificate if such certificate is not
     * accepted by [javax.net.ssl.TrustManager].
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/dataclasses.md

    /// info
    
    Keep in mind that dataclasses can't do everything Pydantic models can do.
    
    So, you might still need to use Pydantic models.
    
    But if you have a bunch of dataclasses laying around, this is a nice trick to use them to power a web API using FastAPI. 🤓
    
    ///
    
    ## Dataclasses in `response_model`
    
    You can also use `dataclasses` in the `response_model` parameter:
    
    {* ../../docs_src/dataclasses/tutorial002.py hl[1,7:13,19] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:35:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            that it's for a use case that actually comes up in the real world. We want to hear the
            real-world use case so the community can discuss and debate whether this feature is actually
            the *best* way to address the real use case, or whether or not a different approach might be
            more appropriate.
    
    
            It's okay if you can't provide complete context on a use case. We understand if you are not
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/advanced-dependencies.md

    In this case, this `__call__` is what **FastAPI** will use to check for additional parameters and sub-dependencies, and this is what will be called to pass a value to the parameter in your *path operation function* later.
    
    ## Parameterize the instance
    
    And now, we can use `__init__` to declare the parameters of the instance that we can use to "parameterize" the dependency:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:10:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. docs/select/README.md

    ## 5. Explore Further
    
    - [Use `mc` with MinIO Server](https://min.io/docs/minio/linux/reference/minio-mc.html)
    - [Use `mc sql` with MinIO Server](https://min.io/docs/minio/linux/reference/minio-mc/mc-sql.html#command-mc.sql)
    - [Use `minio-go` SDK with MinIO Server](https://min.io/docs/minio/linux/developers/go/minio-go.html)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            return request.getGoals();
        }
    
        /**
         * Gets the user properties to use for interpolation and profile activation. The user properties have been
         * configured directly by the user on his discretion, e.g. via the {@code -Dkey=value} parameter on the command
         * line.
         *
         * @return The user properties, never {@code null}.
         */
        public Properties getUserProperties() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. misc/ios/README

    Setting CC is not necessary if the toolchain is built with CC_FOR_TARGET set.
    
    To use the go tool to run individual programs and tests, put $GOROOT/bin into PATH to ensure
    the go_ios_$GOARCH_exec wrapper is found. For example, to run the archive/tar tests:
    
    	export PATH=$GOROOT/bin:$PATH
    	GOOS=ios GOARCH=amd64 CGO_ENABLED=1 go test archive/tar
    
    The go_ios_exec wrapper uses GOARCH to select the emulator (amd64) or the device (arm64).
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Dec 29 21:49:26 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

                // not used
            }
    
            public void merge(ArtifactMetadata metadata) {
                // not used
            }
    
            public void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                    throws RepositoryMetadataStoreException {
                // not used
            }
    
            public String extendedToString() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. .bazelrc

    #     rbe_base:  General RBE options shared by all flavors.
    #     rbe_linux: General RBE options used on all linux builds.
    #     rbe_win_base:   General RBE options used on all Windows builds. Not to be used standalone.
    #     rbe_win_clang:  Options specific to compiling using Clang.
    #
    #     rbe_linux_cpu:                  RBE options to build with only CPU support.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 22:02:31 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top