- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 689 for Main (0.01 sec)
-
samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java
for (Certificate certificate : response.handshake().peerCertificates()) { System.out.println(CertificatePinner.pin(certificate)); } } } public static void main(String... args) throws Exception { new CertificatePinning().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Dec 08 21:30:01 UTC 2019 - 1.7K bytes - Viewed (0) -
docs/fr/docs/tutorial/index.md
## Exécuter le code Tous les blocs de code peuvent être copiés et utilisés directement (il s'agit en fait de fichiers Python testés). Pour exécuter l'un de ces exemples, copiez le code dans un fichier `main.py`, et commencez `uvicorn` avec : <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 3K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/first-steps.md
## Como Parece Vamos primeiro usar o código e ver como funciona, e depois voltaremos para entender o que está acontecendo. ## Crie um `main.py` Copie o exemplo em um arquivo `main.py`: {* ../../docs_src/security/tutorial001.py *} ## Execute-o /// info | informação ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/zh-hant/docs/index.md
INFO: Application startup complete. ``` </div> <details markdown="1"> <summary>關於指令 <code>uvicorn main:app --reload</code>...</summary> 該指令 `uvicorn main:app` 指的是: - `main`:`main.py` 檔案(一個 python 的 "模組")。 - `app`:在 `main.py` 檔案中,使用 `app = FastAPI()` 建立的物件。 - `--reload`:程式碼更改後會自動重新啟動,請僅在開發時使用此參數。 </details> ### 檢查
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 18.8K bytes - Viewed (0) -
docs/fr/docs/index.md
<details markdown="1"> <summary>À propos de la commande <code>uvicorn main:app --reload</code> ...</summary> La commande `uvicorn main:app` fait référence à : * `main` : le fichier `main.py` (le "module" Python). * `app` : l'objet créé à l'intérieur de `main.py` avec la ligne `app = FastAPI()`. * `--reload` : fait redémarrer le serveur après des changements de code. À n'utiliser que pour le développement. </details>
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 22K bytes - Viewed (0) -
docs/features/events.md
 Here’s a [sample event listener](https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java) that prints each event with a timestamp. ```java class PrintingEventListener extends EventListener { private long callStartNanos;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 7.7K bytes - Viewed (0) -
docs/sts/web-identity.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "bytes" "context" "crypto/rand" "encoding/base64" "encoding/json" "errors" "flag" "fmt" "log" "net/http" "net/url" "strings" "time" "golang.org/x/oauth2"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 19 09:13:33 UTC 2023 - 7.8K bytes - Viewed (0) -
docs/ja/docs/deployment/docker.md
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt # (1) COPY ./main.py /code/ # (2) CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"] ``` 1. main.py`ファイルを `/code` ディレクトリに直接コピーします。 2. Uvicornを実行し、`main`から`app`オブジェクトをインポートするように指示します(`app.main`からインポートするのではなく)。 次にUvicornコマンドを調整して、`app.main` の代わりに新しいモジュール `main` を使用し、FastAPIオブジェクトである `app` をインポートします。 ## デプロイメントのコンセプト
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Aug 12 21:47:53 UTC 2024 - 44.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.6K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsClient.kt
userAgent = userAgent.name, version = userAgent.version, platform = userAgent.platform, enabled = userAgent.suiteNames.map { SuiteId(null, it) }, ) } } suspend fun main() { val sslLabsClient = SslLabsClient( callFactory = OkHttpClient(), ) for (client in sslLabsClient.clients()) { println(client) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0)