ANNA Suite  2020b
Multipurpose development suite for Telco applications
Classes | Static Public Member Functions | List of all members
anna::http::Method Class Reference

#include <Method.hpp>

Classes

struct  Type
 

Static Public Member Functions

static Type::_v asType (const Token *token)
 
static std::string asString (const Type::_v type)
 

Detailed Description

Metodos utilizados para realizar peticiones HTTP.

Member Function Documentation

◆ asString()

static std::string anna::http::Method::asString ( const Type::_v  type)
static

Devuelve el nombre del metodo con el que esta asociado el tipo recibido.

Parameters
typeTipo de metodo.
Returns
el nombre del metodo con el que esta asociado el tipo recibido.

◆ asType()

static Type::_v anna::http::Method::asType ( const Token token)
static

Interpreta el token recibido como parametro y devuelve el valor de Type con el que esta asociado.

Parameters
tokenToken obtenido en la fase de analisis.
Warning
Exclusivamente uso interno.
Returns
El tipo de metodo.

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