<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [iceshrimp-sdk](./iceshrimp-sdk.md) &gt; [Stream](./iceshrimp-sdk.stream.md) &gt; [send](./iceshrimp-sdk.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

