2023-06-24 04:13:03 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
2023-07-21 17:33:01 +00:00
|
|
|
[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [Stream](./iceshrimp-js.stream.md) > [send](./iceshrimp-js.stream.send.md)
|
2023-06-24 04:13:03 +00:00
|
|
|
|
|
|
|
## Stream.send() method
|
|
|
|
|
|
|
|
**Signature:**
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
send(typeOrPayload: any, payload?: any): void;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| typeOrPayload | any | |
|
|
|
|
| payload | any | _(Optional)_ |
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
void
|
|
|
|
|