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

request_message

http.request_message

:
Message
 is
[Private constructor]
HTTP request message

Fields

the HTTP request method
the target of the request
version_major
 i32
the major version
version_minor
 i32
the minor version
the header fields
body
 io.Read_Handler
[Redefinition of  http.Message.body]
body of the request

redefines:

Functions

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

redefines:

(max_body_bytes i32)
 => 
outcome String
[Inherited from  Message]
NYI: BUG: can only be called once
String representation of the whole message, i.e. header and body
 => 
String
[Inherited from  Message]
NYI: BUG: can only be called once
get the body of the message as a String
(max_body_bytes i32)
 => 
Sequence u8
[Inherited from  Message]
NYI: BUG: can only be called once
the whole message as a sequence of bytes
request line of the message

Type Functions

(method http.request_method, target String, version_major i32, version_minor i32, header Sequence (tuple String String))
 => 
http.request_message
request with an empty body
(method http.request_method, target String, version_major i32, version_minor i32, header Sequence (tuple String String), body io.Read_Handler)
 => 
http.request_message
0.095dev (GIT hash 27131e1639d9c25bf0ff30a1d83fbf2e0f3d250d)