-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
Description
Cronet supports bidirectional stream, Envoy Mobile, not yet.
Those are the two peculiar parameters:
/**
* Sets priority of the stream which should be one of the
* {@link #STREAM_PRIORITY_IDLE STREAM_PRIORITY_*} values.
* The stream is given {@link #STREAM_PRIORITY_MEDIUM} priority if
* this method is not called.
*
* @param priority priority of the stream which should be one of the
* {@link #STREAM_PRIORITY_IDLE STREAM_PRIORITY_*} values.
* @return the builder to facilitate chaining.
*/
public abstract Builder setPriority(int priority);
/**
* Delays sending request headers until {@link BidirectionalStream#flush()}
* is called. This flag is currently only respected when QUIC is negotiated.
* When true, QUIC will send request header frame along with data frame(s)
* as a single packet when possible.
*
* @param delayRequestHeadersUntilFirstFlush if true, sending request headers will
* be delayed until flush() is called.
* @return the builder to facilitate chaining.
*/
public abstract Builder delayRequestHeadersUntilFirstFlush(
boolean delayRequestHeadersUntilFirstFlush);
This is the base of gRPC, so its reimplementation is mandatory.
Reactions are currently unavailable