Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
esi_request.h File Reference
#include <cstdint>
#include <expected>
#include <nlohmann/json_fwd.hpp>
#include <string>
#include <string_view>
#include <vector>
#include "etg/esi_entry.h"
Include dependency graph for esi_request.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mm::etg::EsiParseRequest
 What a caller wants back from an ESI document. More...
 

Namespaces

namespace  mm
 
namespace  mm::etg
 

Functions

std::expected< std::vector< uint32_t >, std::string > mm::etg::parseIdentList (std::string_view csv)
 Parses a comma-separated list of hex-or-decimal values, as a query parameter carries it.
 
std::expected< nlohmann::json, std::string > mm::etg::buildEsiResponse (std::string_view xml, const EsiParseRequest &request, const EsiEntryOptions &options={})
 Parses an ESI document and renders it as JSON.