sendHeaders method

void sendHeaders(
  1. List<Header> headers, {
  2. bool endStream = false,
})

Implementation

void sendHeaders(List<Header> headers, {bool endStream = false}) {
  outgoingMessages.add(HeadersStreamMessage(headers, endStream: endStream));
  if (endStream) outgoingMessages.close();
}