OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::core::blob::get_fn Struct Reference

Retrieve the contents of a blob object from a container connection. More...

#include <blob.hpp>

Public Member Functions

auto operator() (connection_ptr const &conn, object_t const &obj) const -> maybe< contents_t >

Detailed Description

Retrieve the contents of a blob object from a container connection.

This functor retrieves the contents of a blob object identified by an object_t

Member Function Documentation

◆ operator()()

auto oxy::core::blob::get_fn::operator() ( connection_ptr const & conn,
object_t const & obj ) const -> maybe< contents_t >

This operator retrieves the contents of a blob object identified by an object_t from the specified container connection. It returns a maybe<contents_t> that contains the
contents of the blob object, or an empty maybe if not found.