RestconfSession¶
-
class
ydk::path::
RestconfSession
: public path::Session¶ Implementation of
Session
for the restconf protocol.-
path::RootSchemaNode &
get_root_schema
() const¶ Returns the
RootSchemaNode
tree supported by this instance of theRestconfSession
.Returns: Reference to the RootSchemaNode
ornullptr
if one could not be created.
-
std::shared_ptr<DataNode>
invoke
(path::Rpc &rpc) const¶ Invokes or executes the given rpc and returns a
DataNode
pointer if the Rpc has an output modeled in YANG.Parameters: rpc – Reference to the Rpc
node.Returns: Pointer to the DataNode
representing the output.
-
~RestconfSession
()¶
-
path::RootSchemaNode &