MCPcopy Create free account
hub / github.com/cocos/cocos-engine / setEndpoint

Method setEndpoint

native/cocos/network/SocketIO.cpp:69–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 const ccstd::string &typeForIndex(int index) const;
68
69 void setEndpoint(const ccstd::string &endpoint) { _endpoint = endpoint; };
70 const ccstd::string &getEndpoint() const { return _endpoint; };
71 void setEvent(const ccstd::string &event) { _name = event; };
72 const ccstd::string &getEvent() const { return _name; };

Callers 3

connectToEndpointMethod · 0.80
sendMethod · 0.80
emitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected