- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hostIpv6Builder (0.08 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(parse("http://[::ffff:c0a8:1fe]/").host).isEqualTo("192.168.1.254") } /** * The builder permits square braces but does not require them. */ @Test fun hostIpv6Builder() { val base = parse("http://example.com/") assertThat(base.newBuilder().host("[::1]").build().toString()) .isEqualTo("http://[::1]/") assertThat(base.newBuilder().host("[::0001]").build().toString())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 67.9K bytes - Viewed (0)