UDPHealthCheckResponse constructor
const
UDPHealthCheckResponse({})
Creates a new UDPHealthCheckResponse.
port The UDP port number to which the health check prober sends packets. Valid values are 1 through 65535.
portName Not supported.
request Raw data of request to send in payload of UDP packet. It is an error if this is empty. The request data can only be ASCII.
response The bytes to match against the beginning of the response data. It is an error if this is empty. The response data can only be ASCII.
Implementation
const UDPHealthCheckResponse({
required this.port,
required this.portName,
required this.request,
required this.response,
});