MCPcopy Create free account
hub / github.com/CPChain/chain / WSEndpoint

Method WSEndpoint

node/node.go:564–566  ·  view source on GitHub ↗

WSEndpoint retrieves the current WS endpoint used by the protocol stack.

()

Source from the content-addressed store, hash-verified

562
563// WSEndpoint retrieves the current WS endpoint used by the protocol stack.
564func (n *Node) WSEndpoint() string {
565 return n.wsEndpoint
566}
567
568// EventMux retrieves the event multiplexer used by all the network services in
569// the current protocol stack.

Callers 1

NewFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected