* Removes existing WebSocket handler from the server instance. * * The call is ignored if the given `handlerPathname` handler is not present in the handlers list. * @param handlerPathname - WebSocket endpoint path * @returns `true` if the `handlerPathname` was found and deleted; `false`
(this: AppiumServer, handlerPathname: string)
| 35 | * @returns `true` if the `handlerPathname` was found and deleted; `false` otherwise. |
| 36 | */ |
| 37 | removeWebSocketHandler(this: AppiumServer, handlerPathname: string): Promise<boolean>; |
| 38 | /** |
| 39 | * Removes all existing WebSocket handlers from the server instance. |
| 40 | * @returns `true` if at least one handler was deleted; `false` otherwise. |
no outgoing calls