Beast Logo

PrevUpHomeNext

http::swap

Swap two header objects.

template<
    bool isRequest,
    class Fields>
void
swap(
    header< isRequest, Fields >& m1,
    header< isRequest, Fields >& m2);

Swap two message objects.

template<
    bool isRequest,
    class Body,
    class Fields>
void
swap(
    message< isRequest, Body, Fields >& m1,
    message< isRequest, Body, Fields >& m2);
Requirements

Header: beast/http/message.hpp

Convenience header: beast/http.hpp


PrevUpHomeNext