Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 862 for Main (0.02 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/ExternalHttp2Example.kt

     * limitations under the License.
     */
    package okhttp3.internal.http
    
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    
    object ExternalHttp2Example {
      @JvmStatic
      fun main(args: Array<String>) {
        val client =
          OkHttpClient.Builder()
            .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
            .build()
        val call =
          client.newCall(
            Request.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

                for ((name, value) in response.headers) {
                  println("$name: $value")
                }
    
                println(response.body.string())
              }
            }
          },
        )
      }
    }
    
    fun main() {
      AsynchronousGet().run()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. .github/workflows/update-jdks.yml

          - name: Checkout repository
            uses: actions/checkout@v3
            with:
              persist-credentials: false
              fetch-depth: 0
          - name: Update jdks.yaml
            uses: gradle/update-jdks-action@main
          - name: Create Pull Request
            uses: peter-evans/create-pull-request@v7
            with:
              signoff: true
              sign-commits: true
              commit-message: "Update jdks.yaml"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 29 03:45:07 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. docs/ru/docs/deployment/docker.md

    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Скопируйте непосредственно файл `main.py` в директорию `/code` (не указывайте `./app`).
    
    2. При запуске Uvicorn укажите ему, что объект `app` нужно импортировать из файла `main` (вместо импортирования из `app.main`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. pom.xml

    						</data>
    						<!-- Add bin directory -->
    						<data>
    							<type>files</type>
    							<paths>
    								<path>${project.basedir}/src/main/assemblies/files/fess</path>
    								<path>${project.basedir}/src/main/assemblies/files/fess.in.sh</path>
    								<path>${project.basedir}/src/main/assemblies/files/generate-thumbnail</path>
    								<path>${project.basedir}/plugin.xml</path>
    							</paths>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 02:16:03 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/behind-a-proxy.md

    ### Fornecendo o `root_path`
    
    Para conseguir isso, você pode usar a opção de linha de comando `--root-path` assim:
    
    <div class="termy">
    
    ```console
    $ fastapi run main.py --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Se você usar Hypercorn, ele também tem a opção `--root-path`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:28:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/index.md

    You could **deploy a server** yourself using a combination of tools, you could use a **cloud service** that does part of the work for you, or other possible options.
    
    I will show you some of the main concepts you should probably keep in mind when deploying a **FastAPI** application (although most of it applies to any other type of web application).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jan 11 16:31:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. build-logic-settings/UpdateDevelocityPluginVersion.java

    import java.io.*;
    import java.nio.file.*;
    import java.util.regex.*;
    
    public class UpdateDevelocityPluginVersion {
        public static void main(String[] args) throws IOException {
            if (args.length != 1) {
                System.out.println("Usage: java build-logic-settings/UpdateDevelocityPluginVersion.java <new-version>");
                System.exit(1);
            }
    
            String newVersion = args[0];
            String[] files = {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 12 07:58:50 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. compat/maven-repository-metadata/pom.xml

            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
              <version>1.2.0</version>
              <models>
                <model>../../api/maven-api-metadata/src/main/mdo/metadata.mdo</model>
              </models>
              <params>
                <param>forcedIOModelVersion=1.1.0</param>
                <param>packageModelV3=org.apache.maven.artifact.repository.metadata</param>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. buildscripts/checkdeps.sh

    		exit 1
    	fi
    }
    
    main() {
    	## Check for supported arch
    	assert_is_supported_arch
    
    	## Check for supported os
    	assert_is_supported_os
    
    	## Check for Go environment
    	assert_check_golang_env
    
    	## Check for dependencies
    	assert_check_deps
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top