Class HttpClientMessageClient
Implements
MessageClient
SlackMessageClient
Constructors
constructor
Parameters
options: object
channel: string
port: number
transient: boolean
workspaceId: string
Properties
Private dead
dead: boolean
Private goalUrl
goalUrl: string
options
options: object
Type declaration
channel: string
port: number
transient: boolean
workspaceId: string
Methods
addressChannels
addressChannels( message: any , channels: string | string [] , options?: MessageOptions ) : Promise < any >
Parameters
message: any
channels: string | string []
Optional options: MessageOptions
Returns Promise < any >
addressUsers
addressUsers( message: any , users: string | string [] , options?: MessageOptions ) : Promise < any >
Parameters
message: any
users: string | string []
Optional options: MessageOptions
Returns Promise < any >
respond
respond( message: any , options?: MessageOptions ) : Promise < any >
Parameters
message: any
Optional options: MessageOptions
Returns Promise < any >
send
send( msg: any , destinations: Destination | Destination [] , options?: MessageOptions ) : Promise < any >
Parameters
msg: any
destinations: Destination | Destination []
Optional options: MessageOptions
Returns Promise < any >
Private sendInternal
sendInternal( message: any , destinations: Destination [] , options?: MessageOptions ) : Promise < any >
Parameters
message: any
destinations: Destination []
Optional options: MessageOptions
Returns Promise < any >
Private stream
Parameters
Returns Promise < void >
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Server-side Message client that POSTS to an Atomist client listener (which is itself a server) and logs to a fallback otherwise. There's one distinct HTTP message client for each address.