MCPcopy Index your code
hub / github.com/cameri/nostream / sendResult

Method sendResult

src/handlers/auth-message-handler.ts:69–74  ·  view source on GitHub ↗
(eventId: string, success: boolean, message: string)

Source from the content-addressed store, hash-verified

67 }
68
69 private sendResult(eventId: string, success: boolean, message: string): void {
70 this.webSocket.emit(
71 WebSocketAdapterEvent.Message,
72 createCommandResult(eventId, success, message),
73 )
74 }
75
76 // NIP-42 says domain-match is sufficient for relay URL comparison
77 private isRelayUrlMatch(clientRelay: string, serverRelay: string): boolean {

Callers 1

handleMessageMethod · 0.95

Calls 1

createCommandResultFunction · 0.90

Tested by

no test coverage detected