Connection.createStream()

DESCRIPTION

Create a new stream on this connection. Stream must subsequently be opened.

DECLARATION

    public func createStream() throws -> Stream 

PARAMETERS

None.

ERRORS

Throws the following errors:

ALLOCATION_ERROR:
if the stream could not be created.

RETURN VALUES

None.

EXAMPLES

None.