#include <grpc/support/port_platform.h>
#include "third_party/objective_c/Cronet/bidirectional_stream_c.h"
#include <grpc/support/log.h>
Go to the source code of this file.
Functions | |
void | bidirectional_stream_cancel (bidirectional_stream *) |
bidirectional_stream * | bidirectional_stream_create (stream_engine *, void *, bidirectional_stream_callback *) |
void | bidirectional_stream_delay_request_headers_until_flush (bidirectional_stream *, bool) |
int | bidirectional_stream_destroy (bidirectional_stream *) |
void | bidirectional_stream_disable_auto_flush (bidirectional_stream *, bool) |
void | bidirectional_stream_flush (bidirectional_stream *) |
int | bidirectional_stream_read (bidirectional_stream *, char *, int) |
int | bidirectional_stream_start (bidirectional_stream *, const char *, int, const char *, const bidirectional_stream_header_array *, bool) |
int | bidirectional_stream_write (bidirectional_stream *, const char *, int, bool) |
void bidirectional_stream_cancel | ( | bidirectional_stream * | ) |
Definition at line 66 of file cronet_api_phony.cc.
bidirectional_stream* bidirectional_stream_create | ( | stream_engine * | , |
void * | , | ||
bidirectional_stream_callback * | |||
) |
Definition at line 32 of file cronet_api_phony.cc.
void bidirectional_stream_delay_request_headers_until_flush | ( | bidirectional_stream * | stream, |
bool | delay_headers_until_flush | ||
) |
Delays sending request headers until bidirectional_stream_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.
Definition at line 75 of file cronet_api_phony.cc.
int bidirectional_stream_destroy | ( | bidirectional_stream * | ) |
Definition at line 39 of file cronet_api_phony.cc.
void bidirectional_stream_disable_auto_flush | ( | bidirectional_stream * | stream, |
bool | disable_auto_flush | ||
) |
Disables or enables auto flush. By default, data is flushed after every bidirectional_stream_write(). If the auto flush is disabled, the client should explicitly call bidirectional_stream_flush to flush the data.
Definition at line 70 of file cronet_api_phony.cc.
void bidirectional_stream_flush | ( | bidirectional_stream * | stream | ) |
Flushes pending writes. This method should not be called before invocation of on_stream_ready() method of the bidirectional_stream_callback. For each previously called bidirectional_stream_write() a corresponding on_write_completed() callback will be invoked when the buffer is sent.
Definition at line 80 of file cronet_api_phony.cc.
int bidirectional_stream_read | ( | bidirectional_stream * | , |
char * | , | ||
int | |||
) |
Definition at line 53 of file cronet_api_phony.cc.
int bidirectional_stream_start | ( | bidirectional_stream * | , |
const char * | , | ||
int | , | ||
const char * | , | ||
const bidirectional_stream_header_array * | , | ||
bool | |||
) |
Definition at line 44 of file cronet_api_phony.cc.
int bidirectional_stream_write | ( | bidirectional_stream * | , |
const char * | , | ||
int | , | ||
bool | |||
) |
Definition at line 59 of file cronet_api_phony.cc.