[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Stream](./iceshrimp-js.stream.md) > [send](./iceshrimp-js.stream.send.md) ## Stream.send() method **Signature:** ```typescript send(typeOrPayload: any, payload?: any): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | typeOrPayload | any | | | payload | any | _(Optional)_ | **Returns:** void