closeSession method

void closeSession(
  1. int streamId
)

Remove and close the session associated with streamId.

Implementation

void closeSession(int streamId) {
  _sessions.remove(streamId);
}