vibe.d beta banner
get vibe.d
0.8.1

Asynchronous I/O that doesn’t get in your way, written in D

Module vibe.inet.webform

Contains HTML/urlencoded form parsing and construction routines.

Functions

NameDescription
parseFormData(fields, files, content_type, body_reader, max_line_length)Parses form data according to an HTTP Content-Type header.
parseMultiPartForm(fields, files, content_type, body_reader, max_line_length)Parses a form in "multipart/form-data" format.
parseURLEncodedForm(str, params)Parses a URL encoded form and stores the key/value pairs.

Structs

NameDescription
FilePartSingle part of a multipart form.

Templates

NameDescription
formEncodeEncodes a Key-Value map into a form URL encoded string.
formEncodeEncodes a Key-Value map into a form URL encoded string.
urlEncodeWrites to the OutputRange an URL encoded string as specified in RFC 3986 section 2
urlEncodeReturns an URL encoded string as specified in RFC 3986 section 2

Manifest constants

NameTypeDescription
isFormMapTests if a given type is suitable for storing a web form.

Aliases

NameTypeDescription
FilePartFormFields
FormFields
Authors

Sönke Ludwig, Jan Krüger

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.