MCPcopy Create free account
hub / github.com/appium/appium / removeWebSocketHandler

Method removeWebSocketHandler

packages/types/lib/server.ts:28–28  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

26 * @returns `true` if the `handlerPathname` was found and deleted; `false` otherwise.
27 */
28 removeWebSocketHandler(this: AppiumServer, handlerPathname: string): Promise<boolean>;
29 /**
30 * Removes all existing WebSocket handlers from the server instance.
31 * @returns `true` if at least one handler was deleted; `false` otherwise.

Callers 3

streamDoneCallbackFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected