MCPcopy Create free account
hub / github.com/electric-sql/electric / constructor

Method constructor

packages/agents-server/src/stream-client.ts:177–180  ·  view source on GitHub ↗
(
    readonly baseUrl: string,
    readonly options: StreamClientOptions = {}
  )

Source from the content-addressed store, hash-verified

175
176export class StreamClient {
177 constructor(
178 readonly baseUrl: string,
179 readonly options: StreamClientOptions = {}
180 ) {}
181
182 private streamUrl(path: string): string {
183 return appendPathToBaseUrl(this.baseUrl, path)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected