html-ui.service-response
- description
- type
Fn(response: @definy.service-response) -> @html-ui.response
- expression
fn(response$0) => { status: $0.status, text: match $0.body { #text(text$1) => $1, #json(_) => "", #base64(base64$3) => $3, #bytes(bytes$4) => @std.bytes-to-string(bytes: $4), #empty(_) => "" }, json: match $0.body { #json(value$2) => $2, _ => #null<@definy.json> } }- visibility
- public
html-ui.service-response (project html-ui, branch main, snapshot Daaw3vbJhY15cDW6JsA4JuXvffjj_qFyxoZQMUM8hvQ) id: U99UsauBQSS37uWvrSP6jTZKe5BhrIz1pdWypfqgkYs content hash: DJpX3Q4ki-4LEYl9U45IzFaZWdVxOlKWJHTUXzZdKMs