Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

response_msg

http.response_msg

(req option http.this.request_msg, version_major i32, version_minor i32, status_code i32, reason_phrase String, header_fields container.Map String String, body io.Read_Handler)
:
Message
 is
HTTP response message

Fields

header fields with all lower case
the request message for which this response was generated
version_major
 i32
the major version
version_minor
 i32
the minor version
status_code
 i32
the status code of the response
reason_phrase
 String
the reason-phrase of the response
body
 io.Read_Handler
[Redefinition of  http.Message.body]
the body of the response
(
public redef body option (Sequence u8)) : Message

redefines:

Functions

 => 
String
[Inherited from  Message]
String representation of the message header

redefines:

NYI: BUG: can only be called once
String representation of the message header
 => 
Sequence u8
[Inherited from  Message]
NYI: BUG: can only be called once
the whole message as a sequence of bytes
the start line of the message, for a response this is also called status line
the status line of the response message
0.095dev (2025-09-09 14:29:31 GIT hash 98644f8f651c2101a0730cfe31c5807993b7603b built by fridi@fzen)