Add streaming API WebSocket test

This commit is contained in:
178inaba 2017-04-23 17:28:31 +09:00
parent c7255e69e8
commit 1d2b6deeef
2 changed files with 178 additions and 1 deletions

View file

@ -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", "")
}