1
0
Fork 1
mirror of https://example.com synced 2024-11-23 03:16:40 +09:00
firefish/packages/firefish-js/markdown/firefish-js.stream._constructor_.md
2023-07-20 04:17:05 +09: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)