streamApi
For a given Raw
This is used internally by stream and you usually do not have to worry about it. However, if you construct your own Api instance and you with to use it for streaming messages, then this function lets you do so based on the underlying .raw object.
Parameters
rawApi
ts
rawApi: RawApiDefines how to call send and send
Return Type
ts
StreamContextExtension["api"]