text: // Copyright (c) Microsoft Corporation. All rights reserved.
  // Licensed under the Apache 2.0 License.
  #pragma once
  
  #include "node/rpc/userfrontend.h"
  
  namespace ccfapp
  {
    // SNIPPET_START: rpc_handler
    /** To be implemented by the CCF application
     *
     * @param network Access to the network's tables
     * @param notifier Access to host notification service
     *
     * @return Shared pointer to the application handler instance
     *
     * @see `ccf::RpcFrontend`
     */
    std::shared_ptr<ccf::UserRpcFrontend> get_rpc_handler(
      ccf::NetworkTables& network, ccf::AbstractNotifier& notifier);
    // SNIPPET_END: rpc_handler
  }
  