iceshrimp-161sh/packages/calckey-js/markdown/calckey-js.stream._constructor_.md
2023-06-23 21:13:03 -07:00

677 B

Home > calckey-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)