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

Method HTTPEndpoint

node/node.go:559–561  ·  view source on GitHub ↗

HTTPEndpoint retrieves the current HTTP endpoint used by the protocol stack.

()

Source from the content-addressed store, hash-verified

557
558// HTTPEndpoint retrieves the current HTTP endpoint used by the protocol stack.
559func (n *Node) HTTPEndpoint() string {
560 return n.httpEndpoint
561}
562
563// WSEndpoint retrieves the current WS endpoint used by the protocol stack.
564func (n *Node) WSEndpoint() string {

Callers 1

NewFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected