1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-06 21:04:14 +02:00
Files
OpenIntegrations/docs/en/examples/GRPC/GetMethod.txt
T
Vitaly the Alpaca (bot) c25ed70ac3 Main build (Jenkins)
2026-02-13 14:09:07 +03:00

11 lines
447 B
Plaintext
Vendored

Address = "https://grpcb.in:9001";
Scheme = "https://hut.openintegrations.dev/test_data/grpcbin.proto"; // String, path to file or URL
Parameters = OPI_GRPC.GetConnectionParameters(Address, Scheme);
Tls = OPI_GRPC.GetTlsSettings(True);
Connection = OPI_GRPC.CreateConnection(Parameters, Tls);
Service = "grpcbin.GRPCBin";
Method = "Index";
Result = OPI_GRPC.GetMethod(Connection, Service, Method);