Efficient, low-code-size RPC system for embedded devices.
Main docs: Home | Quickstart & guides | Client, server, and protobuf libraries | C++ server and client | Python client | TypeScript client | Nanopb codegen | pw_protobuf codegen | Packet protocol | Design & roadmap | HDLC example
|
template<auto kMethod> |
using | pw::rpc::MethodRequestType = typename internal::MethodInfo< kMethod >::Request |
|
template<auto kMethod> |
using | pw::rpc::MethodResponseType = typename internal::MethodInfo< kMethod >::Response |
|
|
enum class | MethodType : unsigned char { kUnary = 0b00
, kServerStreaming = 0b01
, kClientStreaming = 0b10
, kBidirectionalStreaming = 0b11
} |
|
|
template<auto kMethod> |
constexpr const auto & | pw::rpc::MethodSerde () |
|
template<auto kMethod> |
constexpr MethodId | pw::rpc::GetMethodId () |
|
template<auto kMethod> |
constexpr ServiceId | pw::rpc::GetServiceIdForMethod () |
|
constexpr bool | pw::rpc::HasServerStream (MethodType type) |
|
constexpr bool | pw::rpc::HasClientStream (MethodType type) |
|