Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 719 for Main (0.02 sec)

  1. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliTestMain.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.brotli
    
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    fun main() {
      val client =
        OkHttpClient
          .Builder()
          .addInterceptor(BrotliInterceptor)
          .build()
    
      sendRequest("https://httpbin.org/brotli", client)
      sendRequest("https://httpbin.org/gzip", client)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.1K bytes
    - Viewed (1)
  2. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            }
        }
    
        public void test_main_withHelp() {
            // Test main method with help option
            PrintStream originalErr = System.err;
            try {
                ByteArrayOutputStream errContent = new ByteArrayOutputStream();
                System.setErr(new PrintStream(errContent));
    
                String[] args = { "--help" };
                // Note: main calls System.exit, so we can't test it directly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. docs/zh-CN/README.md

    * [fess_label_en.properties](https://github.com/codelibs/fess/blob/master/src/main/resources/fess_label_en.properties)
    * [fess_message_en.properties](https://github.com/codelibs/fess/blob/master/src/main/resources/fess_message_en.properties)
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. .github/workflows/latest-changes.yml

            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v5
            with:
              # To allow latest-changes to commit to the main branch
              token: ${{ secrets.FASTAPI_LATEST_CHANGES }}
          # Allow debugging with tmate
          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1.3K bytes
    - Viewed (1)
  6. docs/ja/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    /// note | 備考
    
    `uvicorn main:app`は以下を示します:
    
    * `main`: `main.py`ファイル (Python "module")。
    * `app`:  `main.py`内部で作られるobject(`app = FastAPI()`のように記述される)。
    * `--reload`: コードの変更時にサーバーを再起動させる。開発用。
    
    ///
    
    出力には次のような行があります:
    
    ```hl_lines="4"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. .github/workflows/golangci-lint.yml

    name: golangci-lint
    on:
      push:
        branches:
          - main
          - master
      pull_request:
    
    permissions:
      contents: read
      pull-requests: read
    
    jobs:
      golangci:
        name: lint
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-go@v5
            with:
              go-version: stable
          - name: golangci-lint
            uses: golangci/golangci-lint-action@v7
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Apr 17 07:30:17 UTC 2025
    - 471 bytes
    - Viewed (0)
  8. .github/workflows/feedback.yml

        runs-on: ubuntu-latest
        steps:
          # Feedback loop: ask for something on PR/Issue and close if not provided or return to the queue on update.
          # https://github.com/gradle/issue-management-action/blob/main/src/feedback.ts
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Jun 17 13:58:59 UTC 2024
    - 482 bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/guide/GetExample.java

            .url(url)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          return response.body().string();
        }
      }
    
      public static void main(String[] args) throws IOException {
        GetExample example = new GetExample();
        String response = example.run("https://raw.github.com/square/okhttp/master/README.md");
        System.out.println(response);
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

        System.out.println("CLOSE: " + code + " " + reason);
      }
    
      @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) {
        t.printStackTrace();
      }
    
      public static void main(String... args) {
        new WebSocketEcho().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Apr 04 11:40:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top