Wt  4.11.1
Classes | Typedefs | Enumerations
Wt::Http Namespace Reference

Namespace for HTTP protocol (Wt::Http) handling. More...

Classes

class  Client
 An HTTP client. More...
 
class  Cookie
 An HTTP Cookie. More...
 
class  Message
 An HTTP client message (request or response). More...
 
class  UploadedFile
 Details about a file uploaded with a request to a resource. More...
 
class  Request
 A resource request. More...
 
class  Response
 A resource response. More...
 
class  ResponseContinuation
 A resource response continuation object. More...
 
class  WtClient
 Support for a Wt web application client. More...
 

Typedefs

typedef std::vector< std::string > ParameterValues
 A list of parameter values. More...
 
typedef std::map< std::string, ParameterValuesParameterMap
 A parameter value map. More...
 
typedef std::multimap< std::string, UploadedFileUploadedFileMap
 A file parameter map. More...
 

Enumerations

enum class  Method {
  Get , Post , Put , Delete ,
  Patch , Head
}
 Enumeration for a HTTP method. More...
 

Detailed Description

Namespace for HTTP protocol (Wt::Http) handling.

Typedef Documentation

◆ ParameterMap

typedef std::map<std::string, ParameterValues> Wt::Http::ParameterMap

A parameter value map.

This is the type used aggregate plain parameter values in a request.

◆ ParameterValues

typedef std::vector<std::string> Wt::Http::ParameterValues

A list of parameter values.

This is the type used to aggregate all values for a single parameter.

◆ UploadedFileMap

typedef std::multimap<std::string, UploadedFile> Wt::Http::UploadedFileMap

A file parameter map.

This is the type used aggregate file parameter values in a request.

Enumeration Type Documentation

◆ Method

enum Wt::Http::Method
strong

Enumeration for a HTTP method.

This enumeration is currently limited to only a few of the most used HTTP methods.

Enumerator
Get 

a HTTP GET

Post 

a HTTP POST

Put 

a HTTP PUT

Delete 

a HTTP DELETE

Patch 

a HTTP PATCH

Head 

a HTTP HEAD