aboutsummaryrefslogtreecommitdiff
path: root/source/library/fetcher/websocket.ts
blob: 6376e766b4b1a986ed0bca70eb4efce49d4298c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*** UTILITY ------------------------------------------ ***/

import type { Fetcher, FetcherOptions } from "./types.ts";

/*** EXPORT ------------------------------------------- ***/

/**
 * WebSocket fetcher for graphql-ws protocol.
 * Stub implementation — see PLAN.md stage v0.4 for full implementation.
 */
export function createWsFetcher(_options: FetcherOptions): Fetcher {
  return () => {
    throw new Error("WebSocket fetcher not yet implemented — see PLAN.md v0.4");
  };
}