vibe.d beta banner
get vibe.d
0.10.0

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
formEncode(dst, map, sep) Encodes a Key-Value map into a form URL encoded string.
formEncode(map, sep) Encodes a Key-Value map into a form URL encoded string.
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.
urlEncode(map) Returns an URL encoded string as specified in RFC 3986 section 2
urlEncode(dst, map) Writes to the OutputRange an URL encoded string as specified in RFC 3986 section 2
urlEncode(map) Returns an URL encoded string as specified in RFC 3986 section 2

Structs

NameDescription
FilePart Single part of a multipart form.

Manifest constants

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

Aliases

NameTypeDescription
FilePartFormFields DictionaryList!(vibe.inet.webform.FilePart,true,0L,false)
FormFields DictionaryList!(string,true,16L,false)
Authors

Sönke Ludwig, Jan Krüger

Copyright

© 2012-2014 Sönke Ludwig

License

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