Connection.createStream()

DESCRIPTION

Create a new stream on this connection. Stream must subsequently be opened. The returned Stream object must be kept alive while in use.

DECLARATION

    public func createStream() throws -> Stream 

THROWS ERRORS

ALLOCATION_ERROR:
if the stream could not be created.