Add streaming API WebSocket test
This commit is contained in:
parent
c7255e69e8
commit
1d2b6deeef
2 changed files with 178 additions and 1 deletions
|
@ -26,7 +26,7 @@ func (c *Client) StreamingWSPublicLocal(ctx context.Context) (chan Event, error)
|
|||
}
|
||||
|
||||
// StreamingWSUser return channel to read events on home using WebSocket.
|
||||
func (c *Client) StreamingWSUser(ctx context.Context, user string) (chan Event, error) {
|
||||
func (c *Client) StreamingWSUser(ctx context.Context) (chan Event, error) {
|
||||
return c.streamingWS(ctx, "user", "")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue