Can you please tell me how to add REST API support using google.api.http?syntax 
= "proto3";
import "google/api/annotations.proto"; service TestService { rpc 
Method(MethodRequest) returns (MethodResponse) { option (google.api.http) = 
{ post: "/api/v1/test" body: "*" }; } }
What should be added here?
server = grpc.server(futures.ThreadPoolExecutor(max_workers=10)) 
stt_pb2_grpc.add_TestServiceServicer_to_server( TestService(), server ) 
address = f"{host}:{port}" server.add_insecure_port(address) server.start() 
server.wait_for_termination()

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/2a06fd0c-78c7-4423-bd2e-7f13caadbf5dn%40googlegroups.com.

Reply via email to