[Home](./index.md) > [trashposs-js](./trashposs-js.md) > [ChannelConnection](./trashposs-js.channelconnection.md) > [send](./trashposs-js.channelconnection.send.md) ## ChannelConnection.send() method **Signature:** ```typescript send( type: T, body: Channel["receives"][T], ): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | type | T | | | body | Channel\["receives"\]\[T\] | | **Returns:** void