[][src]Function fabric_contract::prelude::handle_wapc

pub fn handle_wapc(operation: &str, msg: &[u8]) -> CallResult

Map to the ContractService

This example is not tested
service ContractService {
 rpc GetMetadata (GetMetadataRequest) returns (GetMetadataResponse);
 rpc InvokeTransaction (InvokeTransactionRequest) returns (InvokeTransactionResponse);
 rpc RegisterPeer (RegisterPeerRequest) returns (RegisterPeerResponse);
}