[#HTTPRequest-LoadControlData]
= xref:HTTPRequest.adoc[HTTPRequest]::LoadControlData
:relfileprefix: ../
:mrdocs:

Methods that attempt to parse HTTP request fields line&hyphen;by&hyphen;line from a receive buffer&period;

== Synopsis

Declared in `&lt;httpserver&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
LoadControlData(xref:util/LineReader.adoc[util::LineReader]& reader);
----

== Description

@&lcub;

== Exceptions

[cols="1,4"]
|===
| Name| Thrown on
| `std&colon;&colon;runtime&lowbar;error`
| if data is invalid&period;
|===

== Return Value

true If the request field was parsed&period; false If there was not enough data in the buffer to complete the field&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *reader* [in]
| A LineReader object constructed over a span of data&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
