remove stream ID from OpenStream() method

This commit is contained in:
Marten Seemann
2017-02-09 17:05:58 +07:00
parent 8cd1e4484c
commit f47142eaac
9 changed files with 424 additions and 423 deletions

View File

@@ -109,8 +109,8 @@ func (c *Client) Listen() error {
}
// OpenStream opens a stream, for client-side created streams (i.e. odd streamIDs)
func (c *Client) OpenStream(id protocol.StreamID) (utils.Stream, error) {
return c.session.OpenStream(id)
func (c *Client) OpenStream() (utils.Stream, error) {
return c.session.OpenStream()
}
// Close closes the connection