Skip to content

CheckResultReceiver

[Source]

Receives the result of an HTTP status check where 204 means true and 404 means false. Used for endpoints like "is this gist starred?" that indicate their answer via status code rather than a response body.

interface tag CheckResultReceiver

Public Behaviours

success

[Source]

be success(
  value: Bool val)

Parameters


failure

[Source]

be failure(
  status: U16 val,
  response_body: String val,
  message: String val)

Parameters