Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 197 for router2 (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt

      }
    
      @AfterEach
      fun tearDown() {
        Authenticator.setDefault(null)
        factory.close()
      }
    
      @Test
      fun testBasicAuth() {
        fakeDns["server"] = listOf(InetAddress.getLocalHost())
    
        val route = factory.newRoute()
    
        val request =
          Request
            .Builder()
            .url("https://server/robots.txt")
            .build()
        val response =
          Response
            .Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    
    /** Attempt routes one at a time until one connects. */
    internal class SequentialExchangeFinder(
      override val routePlanner: RoutePlanner,
    ) : ExchangeFinder {
      override fun find(): RealConnection {
        var firstException: IOException? = null
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

            route.proxy.type() == Proxy.Type.DIRECT &&
            route.socketAddress == it.socketAddress
        }
    
      private fun supportsUrl(url: HttpUrl): Boolean {
        assertLockHeld()
    
        val routeUrl = route.address.url
    
        if (url.port != routeUrl.port) {
          return false // Port mismatch.
        }
    
        if (url.host == routeUrl.host) {
          return true // Host match. The URL is supported.
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. docs/ja/docs/project-generation.md

        * Vue CLIにより生成。
        * **JWT認証**の処理。
        * ログインビュー。
        * ログイン後の、メインダッシュボードビュー。
        * メインダッシュボードでのユーザー作成と編集。
        * セルフユーザー版
        * **Vuex**。
        * **Vue-router**。
        * 美しいマテリアルデザインコンポーネントのための**Vuetify**。
        * **TypeScript**。
        * **Nginx**ベースのDockerサーバ (Vue-routerとうまく協調する構成)。
        * Dockerマルチステージビルド。コンパイルされたコードの保存やコミットが不要。
        * ビルド時にフロントエンドテスト実行 (無効化も可能)。
        * 可能な限りモジュール化されているのでそのまま使用できますが、Vue CLIで再生成したり、必要に応じて作成したりして、必要なものを再利用可能。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/behind-a-proxy.md

    [entryPoints]
      [entryPoints.http]
        address = ":9999"
    
    [providers]
      [providers.file]
        filename = "routes.toml"
    ```
    
    这个文件把 Traefik 监听端口设置为 `9999`,并设置要使用另一个文件 `routes.toml`。
    
    /// tip | 提示
    
    使用端口 9999 代替标准的 HTTP 端口 80,这样就不必使用管理员权限运行(`sudo`)。
    
    ///
    
    接下来,创建 `routes.toml`:
    
    ```TOML hl_lines="5  12  20"
    [http]
      [http.middlewares]
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

        val address = client.dns.lookup(server.hostName)[0]
        val expectedAddress = InetSocketAddress(address, server.port)
        val event = listener.removeUpToEvent(ConnectionEvent.ConnectStart::class.java)
        assertThat(event.route.socketAddress).isEqualTo(expectedAddress)
      }
    
      @Test
      @Throws(UnknownHostException::class)
      fun failedConnect() {
        enableTls()
        server.enqueue(MockResponse.Builder().failHandshake().build())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 18:33:48 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. docs_src/openapi_callbacks/tutorial001_py310.py

        "{$callback_url}/invoices/{$request.body.id}", response_model=InvoiceEventReceived
    )
    def invoice_notification(body: InvoiceEvent):
        pass
    
    
    @app.post("/invoices/", callbacks=invoices_callback_router.routes)
    def create_invoice(invoice: Invoice, callback_url: HttpUrl | None = None):
        """
        Create an invoice.
    
        This will (let's imagine) let the API user (some external developer) create an
        invoice.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. cmd/sts-handlers.go

    type stsAPIHandlers struct{}
    
    // registerSTSRouter - registers AWS STS compatible APIs.
    func registerSTSRouter(router *mux.Router) {
    	// Initialize STS.
    	sts := &stsAPIHandlers{}
    
    	// STS Router
    	stsRouter := router.NewRoute().PathPrefix(SlashSeparator).Subrouter()
    
    	// Assume roles with no JWT, handles AssumeRole.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        responseBody = Buffer().asResponseBody(null, 0L)
      }
    
      @Test
      fun route() {
        val route: Route = factory.newRoute()
        val address: Address = route.address
        val proxy: Proxy = route.proxy
        val inetSocketAddress: InetSocketAddress = route.socketAddress
        val requiresTunnel: Boolean = route.requiresTunnel()
      }
    
      @Test
      fun socketPolicy() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 47K bytes
    - Viewed (0)
  10. tests/test_openapi_route_extensions.py

                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            },
                        },
                        "summary": "Route With Extras",
                        "operationId": "route_with_extras__get",
                        "x-custom-extension": "value",
                    }
                },
            },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top