Closed
Description
Dial
and DialContext
have several differences from how gRPC works in other languages. A NewClient
function that works more like other languages would differ in at least two ways:
- Default to DNS resolver instead of passthrough.
- Make target compliant with RFC 3986 (Revise URI scheme parsing to be RFC 3986 compliant #1911).
- Start IDLE instead of CONNECTING.
If we create a NewClient
, we'd probably also want to make matching ClientOptions
instead of DialOptions
, as some DialOptions
(e.g. WithBlock
or WithTimeout
) do not make sense when not dialing synchronously.