blob: 42c484d462572c40e6d8dc4c84d5f3cf0bfd76d2 [file] [log] [blame]
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/websockets/websocket_handshake_response_info.h"
#include <string>
#include "base/time/time.h"
#include "net/http/http_response_headers.h"
#include "url/gurl.h"
namespace net {
WebSocketHandshakeResponseInfo::WebSocketHandshakeResponseInfo(
const GURL& url,
scoped_refptr<HttpResponseHeaders> headers,
const IPEndPoint& remote_endpoint,
base::Time response_time)
: url(url),
headers(std::move(headers)),
remote_endpoint(remote_endpoint),
response_time(response_time) {}
WebSocketHandshakeResponseInfo::~WebSocketHandshakeResponseInfo() = default;
} // namespace net