Request.fromPacket(Packet packet)

Source

Request.fromPacket(Packet packet) {
  headers = packet.headers;
  content = packet.content;
}