( this: AppiumServer, handlerPathname: string, handlerServer: WSServer, )
| 6 | * @see AppiumServerExtension.addWebSocketHandler |
| 7 | */ |
| 8 | export async function addWebSocketHandler( |
| 9 | this: AppiumServer, |
| 10 | handlerPathname: string, |
| 11 | handlerServer: WSServer, |
| 12 | ): Promise<void> { |
| 13 | this.webSocketsMapping[handlerPathname] = handlerServer; |
| 14 | } |
| 15 | |
| 16 | /** |
| 17 | * Returns WebSocket handlers for this server, optionally filtered by pathname. |
nothing calls this directly
no outgoing calls
no test coverage detected