UNPKG

@yaakapp/api

Version:

Yaak is a desktop [API client](https://yaak.app/blog/yet-another-api-client) for interacting with REST, GraphQL, Server Sent Events (SSE), WebSocket, and gRPC APIs. It's built using Tauri, Rust, and ReactJS.

6 lines (5 loc) 305 B
import type { CallWebsocketRequestActionArgs, WebsocketRequestAction } from '../bindings/gen_events'; import type { Context } from './Context'; export type WebsocketRequestActionPlugin = WebsocketRequestAction & { onSelect(ctx: Context, args: CallWebsocketRequestActionArgs): Promise<void> | void; };