@ethersphere/bee-js
Version:
Javascript client for Bee
8 lines (7 loc) • 511 B
TypeScript
/// <reference types="ws" />
import WebSocket from 'isomorphic-ws';
import { BeeRequestOptions, UploadOptions } from '..';
import { SingleOwnerChunk } from '../chunk/soc';
import { BatchId, Reference } from '../utils/typed-bytes';
export declare function send(requestOptions: BeeRequestOptions, soc: SingleOwnerChunk, stamp: BatchId, options?: UploadOptions): Promise<import("..").UploadResult>;
export declare function subscribe(url: string, reference: Reference, headers?: Record<string, string>): WebSocket;