hippofish/packages/firefish-js/markdown/firefish-js.stream._constructor_.md
ThatOneCalculator ff08ec77ee
we be renamin
2023-07-15 14:21:17 -07:00

681 B

Home > firefish-js > Stream > (constructor)

Stream.(constructor)

Constructs a new instance of the Stream class

Signature:

constructor(
		origin: string,
		user: {
			token: string;
		} | null,
		options?: {
			WebSocket?: any;
		},
	);

Parameters

Parameter Type Description
origin string
user { token: string; } | null
options { WebSocket?: any; } (Optional)