View source code
Display the source code in std/net/curl.d from which this
page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a
Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
std.net.curl.HTTP.StatusLine/statusLine
- multiple declarations
Function HTTP.statusLine
HTTP status line of last response. One call to perform may result in several requests because of redirection.
Struct HTTP.StatusLine
HTTP status line ie. the first line returned in an HTTP response.
struct StatusLine
;
If authentication or redirections are done then the status will be for the last response received.
Fields
Name | Type | Description |
---|---|---|
code
|
ushort | HTTP status line code e.g. 200. |
majorVersion
|
ushort | Major HTTP version ie. 1 in HTTP/1.0. |
minorVersion
|
ushort | Minor HTTP version ie. 0 in HTTP/1.0. |
reason
|
string | HTTP status line reason string. |
Methods
Name | Description |
---|---|
reset
()
|
Reset this status line |
toString
()
|
Authors
Jonas Drewsen. Some of the SMTP code contributed by Jimmy Cao.
License
Copyright © 1999-2022 by the D Language Foundation | Page generated by ddox.