Recent

Author Topic: Grpc in Lazarus  (Read 752 times)

Prakash

  • Full Member
  • ***
  • Posts: 169
Grpc in Lazarus
« on: February 11, 2023, 02:54:54 pm »


We have grpc api in other languages. We want to call
Grpc api from Lazarus client.

Thaddy

  • Hero Member
  • *****
  • Posts: 14393
  • Sensorship about opinions does not belong here.
Re: Grpc in Lazarus
« Reply #1 on: February 11, 2023, 04:32:38 pm »
Why would you? Freepascal comes with an RPC client as standard and can communicate with a gRPC server without issues. (Actually multiple)
« Last Edit: February 11, 2023, 04:34:53 pm by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

Prakash

  • Full Member
  • ***
  • Posts: 169
Re: Grpc in Lazarus
« Reply #2 on: February 11, 2023, 04:55:34 pm »
Can you share any documents or sample code

PierceNg

  • Sr. Member
  • ****
  • Posts: 374
    • SamadhiWeb
Re: Grpc in Lazarus
« Reply #3 on: February 11, 2023, 05:33:16 pm »
gRPC uses protobuf v3 as IDL and wire format, and HTTP/2 for transport. AFAIK there isn't a protobuf v3 implementation nor HTTP/2 client implementation for FPC.

 

TinyPortal © 2005-2018