MCPcopy Create free account
hub / github.com/e2wugui/zeze / Websocket

Method Websocket

ZezeJava/ZezeJava/src/main/java/Zeze/Net/Websocket.java:38–43  ·  view source on GitHub ↗
(HttpExchange x, Service service)

Source from the content-addressed store, hash-verified

36 }
37
38 public Websocket(HttpExchange x, Service service) {
39 super(service);
40 this.x = x;
41 this.remote = x.channel().remoteAddress();
42 this.timeThrottle = TimeThrottle.create(getService().getSocketOptions());
43 }
44
45 @Override
46 public Type getType() {

Callers

nothing calls this directly

Calls 4

createMethod · 0.95
channelMethod · 0.80
getSocketOptionsMethod · 0.45
getServiceMethod · 0.45

Tested by

no test coverage detected