{"repo":"ballerina-platform/module-ballerina-grpc","free":true,"listed":false,"github":"https://github.com/ballerina-platform/module-ballerina-grpc","clone":"git clone https://github.com/ballerina-platform/module-ballerina-grpc.git","description":"Ballerina gRPC Module","language":"Ballerina","stars":123,"topics":["ballerina","grpc","protobuf","hacktoberfest","integration","wso2"],"license":"Apache-2.0","category":"networking-infra","readme_excerpt":"Ballerina gRPC Library =================== This library provides APIs for connecting and interacting with gRPC endpoints. gRPC is an inter-process communication technology that allows you to connect, invoke, and operate distributed, heterogeneous applications as easily as making a local function call. The gRPC protocol is layered over HTTP/2 and uses Protocol Buffers for marshaling/unmarshaling messages. This makes gRPC highly efficient on wire and a simple service definition framework. When you develop a gRPC application, the first thing you do is define a service definition using Protocol Buffers. Protocol buffers This is a mechanism to serialize the structured data introduced by Google and used by the gRPC framework. Defining the service using Protocol Buffers includes defining remote methods in the service and defining message types that are sent across the network. A sample service definition is shown below. gRPC allows client applications to directly call the server-side methods using the auto-generated stubs. Protocol Buffer compiler is used to generate the stubs for the specified language. In Ballerina, the stubs are generated using the built-in 'Protocol Buffers to Ballerina' tool. For information on how to generate Ballerina code for Protocol Buffers definition, see Write a gRPC service with Ballerina. gRPC communication patterns The common communication pattern between a client and server is simple request-response style communication. However, with gRPC, you can l","default_branch":null,"files":null,"tree":[],"storefront":"/r/ballerina-platform","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ballerina-platform/module-ballerina-grpc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}