# Class: SendContext

## vertx-js/send_context~ SendContext

#### new SendContext()

Encapsulates a message being sent from Vert.x. Used with event bus interceptors

Source:
  - vertx-js/send_context.js, line 31

### Methods

#### message() → {Message}

Source:
  - vertx-js/send_context.js, line 43

##### Returns:

The message being sent

Type
  Message

#### next()

Call the next interceptor

Source:
  - vertx-js/send_context.js, line 56

#### send() → {boolean}

Source:
  - vertx-js/send_context.js, line 69

##### Returns:

true if the message is being sent (point to point) or False if the message is being published

Type
  boolean

#### sentBody() → {Object}

Source:
  - vertx-js/send_context.js, line 82

##### Returns:

the value sent or published (before being processed by the codec)

Type
  Object