struct
GRPC::Endpoint
- GRPC::Endpoint
- Struct
- Value
- Object
Overview
Endpoint describes where a client channel connects. It encapsulates host/port/TLS derived from an address string.
Defined in:
grpc/endpoint.crConstructors
- .new(host : String, port : Int32, tls : Bool = false)
-
.parse(address : String) : Endpoint
Parse common endpoint forms: - host:port - http://host:port - https://host:port - host (defaults: 50051 for plain, 443 for TLS)
Instance Method Summary
Constructor Detail
Parse common endpoint forms:
- host:port
- http://host:port
- https://host:port
- host (defaults: 50051 for plain, 443 for TLS)