- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,207 for port (0.02 sec)
-
docs/uk/docs/tutorial/debugging.md
```console $ python myapp.py ``` </div> тоді внутрішня змінна `__name__`, яка створюється автоматично Python, матиме значення `"__main__"`. Отже, цей блок коду: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` буде виконаний. --- Це не станеться, якщо Ви імпортуєте цей модуль (файл). Якщо у Вас є інший файл, наприклад `importer.py`, з наступним кодом: ```Python from myapp import app
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Feb 28 14:24:45 UTC 2025 - 3.6K bytes - Viewed (0) -
docs/en/docs/deployment/docker.md
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY ./app /code/app CMD ["fastapi", "run", "app/main.py", "--port", "80"] # If running behind a proxy like Nginx or Traefik add --proxy-headers # CMD ["fastapi", "run", "app/main.py", "--port", "80", "--proxy-headers"] ``` </details> ## What is a Container { #what-is-a-container }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 29.5K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java
return new TcpRdmaConnection(remote, local); } @Override public RdmaConnection connect(String hostname, int port) throws IOException { InetSocketAddress remoteAddress = new InetSocketAddress(hostname, port); RdmaConnection connection = createConnection(remoteAddress, null); connection.connect(); return connection; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
val size: Int = multipartBody.size() val parts: List<MultipartBody.Part> = multipartBody.parts() } @Test @Disabled fun multipartBodyPart() { val multipartBody: MultipartBody = MultipartBody.Builder().build() val part: MultipartBody.Part = multipartBody.part(0) val headers: Headers? = part.headers() val body: RequestBody = part.body() } @Test @Disabled fun okHttpClient() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
internal fun HttpUrl.toHostHeader(includeDefaultPort: Boolean = false): String { val host = if (":" in host) { "[$host]" } else { host } return if (includeDefaultPort || port != defaultPort(scheme)) { "$host:$port" } else { host } } /** Returns a [Locale.US] formatted [String]. */ internal fun format( format: String, vararg args: Any,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
} public static void main(String... args) throws Exception { String clientId = "0000000000.00000000000"; String clientSecret = "00000000000000000000000000000000"; int port = 53203; SlackApi slackApi = new SlackApi(clientId, clientSecret, port); SlackClient client = new SlackClient(slackApi); String scopes = "channels:history channels:read channels:write chat:write:bot chat:write:user "
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.4K bytes - Viewed (0) -
docs/es/docs/tutorial/debugging.md
<div class="termy"> ```console $ python myapp.py ``` </div> entonces la variable interna `__name__` en tu archivo, creada automáticamente por Python, tendrá como valor el string `"__main__"`. Así que, la sección: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` se ejecutará. --- Esto no ocurrirá si importas ese módulo (archivo). Entonces, si tienes otro archivo `importer.py` con:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/debugging.md
то встроенная переменная `__name__`, автоматически создаваемая Python в вашем файле, будет иметь значение строкового типа `"__main__"`. Тогда выполнится условие и эта часть кода: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` будет запущена. --- Но этого не произойдет, если вы импортируете этот модуль (файл). Таким образом, если у вас есть файл `importer.py` с таким импортом: ```Python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.8K bytes - Viewed (0) -
docs/fr/docs/tutorial/debugging.md
</div> alors la variable interne `__name__` de votre fichier, créée automatiquement par Python, aura pour valeur la chaîne de caractères `"__main__"`. Ainsi, la section : ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` va s'exécuter. --- Cela ne se produira pas si vous importez ce module (fichier). Par exemple, si vous avez un autre fichier `importer.py` qui contient : ```Python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Oct 27 17:31:14 UTC 2024 - 2.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
socketHost = address.url.host socketPort = address.url.port } else { val proxyAddress = proxy.address() require(proxyAddress is InetSocketAddress) { "Proxy.address() is not an InetSocketAddress: ${proxyAddress.javaClass}" } socketHost = proxyAddress.socketHost socketPort = proxyAddress.port } if (socketPort !in 1..65535) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (1)