# Class: Session

## vertx-shell-js/session~ Session

#### new Session()

A shell session.

Source:
  - vertx-shell-js/session.js, line 29

### Methods

#### get(key) → {Object}

Get some data from the session

##### Parameters:

Name | Type | Description
--- | --- | ---
`key` | string | the key of the data

Source:
  - vertx-shell-js/session.js, line 57

##### Returns:

the data

Type
  Object

#### put(key, obj) → {Session}

Put some data in a session

##### Parameters:

Name | Type | Description
--- | --- | ---
`key` | string | the key for the data
`obj` | Object | the data

Source:
  - vertx-shell-js/session.js, line 42

##### Returns:

a reference to this, so the API can be used fluently

Type
  Session

#### remove(key) → {Object}

Remove some data from the session

##### Parameters:

Name | Type | Description
--- | --- | ---
`key` | string | the key of the data

Source:
  - vertx-shell-js/session.js, line 71

##### Returns:

the data that was there or null if none there

Type
  Object