withBinding

Returns a copy of this endpoint that lays out the protocol with another binding. Every other value is kept, so a Java caller can set a binding without passing every timeout and limit.

Return

the new endpoint

Parameters

binding

how the endpoint lays out the protocol over HTTP