Handler constructor

const Handler({
  1. Input<ExecAction>? exec,
  2. Input<HTTPGetAction>? httpGet,
  3. Input<TCPSocketAction>? tcpSocket,
})

Creates a new Handler. exec One and only one of the following should be specified. Exec specifies the action to take. httpGet HTTPGet specifies the http request to perform. tcpSocket TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported

Implementation

const Handler({
  this.exec,
  this.httpGet,
  this.tcpSocket,
});