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: can only be called once
String representation of the message header
 => 
Sequence u8
[Inherited from  Message]
NYI: 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-08-15 12:02:22 GIT hash 301b5b75e77076d091b38f555473f9f0e31e5b5c built by fridi@fzen)