MCPcopy Index your code
hub / github.com/socketio/socket.io-client-java / ipv6

Method ipv6

src/test/java/io/socket/client/UrlTest.java:87–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 }
86
87 @Test
88 public void ipv6() {
89 String url = "http://[::1]";
90 URI parsed = parse(url);
91 assertThat(parsed.getScheme(), is("http"));
92 assertThat(parsed.getHost(), is("[::1]"));
93 assertThat(parsed.getPort(), is(80));
94 assertThat(extractId(url), is("http://[::1]:80"));
95 }
96
97}

Callers

nothing calls this directly

Calls 2

parseMethod · 0.95
extractIdMethod · 0.95

Tested by

no test coverage detected