FormatHttpHeadersWithBuffer static method

void FormatHttpHeadersWithBuffer(
  1. StringBuffer sb,
  2. WebHeaderCollection headers
)

Implementation

static void FormatHttpHeadersWithBuffer(
    StringBuffer sb, WebHeaderCollection headers) {
  for (String key in headers.AllKeys) {
    sb.write("$key: ${headers[key]}\n");
  }
}