createSession (method)
Creates a new session with the given name.
Syntax
- (void)createSession:(NSString*)name;
public func createSession(_ name: String) throws -> Void
Remarks
This method creates a new session with the given Name and adds it to the Session* properties. If a session with the given Name already exists, an error will be thrown.
AMQP 1.0's transport protocol has three layers: an overarching connection between two containers, the sessions opened on that connection, and the links (between the containers' nodes) attached to those sessions.