Poco::RemotingNG::REST

class FormSerializer

File Information

Library: RemotingNG/REST
Package: REST
Header: Poco/RemotingNG/REST/FormSerializer.h

Description

The Form Serializer implementation for the REST Transport.

Inheritance

Direct Base Classes: ScalarSerializer

All Base Classes: ScalarSerializer, Poco::RemotingNG::Serializer, Poco::RemotingNG::SerializerBase

Member Summary

Member Functions: close, serializeBuffer, serializeData

Inherited Functions: clearProperties, getProperty, hasProperty, popProperty, pushAttribute, pushProperty, registerNamespace, reset, resetImpl, serialize, serializeBuffer, serializeData, serializeFaultMessage, serializeMessageBegin, serializeMessageEnd, serializeNullableBegin, serializeNullableEnd, serializeOptionalBegin, serializeOptionalEnd, serializeSequenceBegin, serializeSequenceEnd, serializeStructBegin, serializeStructEnd, setup, setupImpl

Constructors

FormSerializer

FormSerializer(
    Poco::Net::HTTPRequest & request
);

Creates the FormSerializer.

FormSerializer

FormSerializer(
    Poco::Net::HTTPRequest & request,
    std::ostream & stream
);

Creates the FormSerializer.

FormSerializer

FormSerializer(
    Poco::Net::HTTPResponse & response,
    std::ostream & stream
);

Creates the FormSerializer.

Destructor

~FormSerializer virtual

~FormSerializer();

Destroys the FormSerializer.

Member Functions

close

void close();

Finalizes serialization.

serializeBuffer protected virtual

void serializeBuffer(
    const std::string & name,
    const std::vector < char > & val
);

serializeData protected virtual

void serializeData(
    const std::string & name,
    const std::string & val
);

Variables

APPLICATION_OCTET_STREAM protected static

static const std::string APPLICATION_OCTET_STREAM;

Securely control IoT edge devices from anywhere   Connect a Device