Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Public Attributes | List of all members
seastar::httpd::url Class Reference

Detailed Description

The url helps defining a route.

#include <seastar/http/routes.hh>

Public Member Functions

 url (url &&)=default
 
 url (const sstring &path)
 
urlremainder (const sstring &param)
 

Public Attributes

sstring _path
 
sstring _param
 

Constructor & Destructor Documentation

◆ url() [1/2]

seastar::httpd::url::url ( url &&  )
default

Move constructor

◆ url() [2/2]

seastar::httpd::url::url ( const sstring &  path)
inline

Construct with a url path as it's parameter

Parameters
paththe url path to be used

Member Function Documentation

◆ remainder()

url & seastar::httpd::url::remainder ( const sstring &  param)
inline

Adds a parameter that matches untill the end of the URL.

Parameters
paramthe parmaeter name
Returns
the current url

The documentation for this class was generated from the following file: