Struct gapi_grpc::google::api::servicecontrol::v1::HttpRequest     [−][src]
A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.
Fields
request_method: StringThe request method. Examples: "GET", "HEAD", "PUT", "POST".
request_url: StringThe scheme (http, https), the host name, the path, and the query
portion of the URL that was requested.
Example: "http://example.com/some/info?color=red".
request_size: i64The size of the HTTP request message in bytes, including the request headers and the request body.
status: i32The response code indicating the status of the response. Examples: 200, 404.
response_size: i64The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.
user_agent: StringThe user agent sent by the client. Example:
"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)".
remote_ip: StringThe IP address (IPv4 or IPv6) of the client that issued the HTTP
request. Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329".
server_ip: StringThe IP address (IPv4 or IPv6) of the origin server that the request was sent to.
referer: StringThe referer URL of the request, as defined in HTTP/1.1 Header Field Definitions.
latency: Option<Duration>The request processing latency on the server, from the time the request was received until the response was sent.
cache_lookup: boolWhether or not a cache lookup was attempted.
cache_hit: boolWhether or not an entity was served from cache (with or without validation).
cache_validated_with_origin_server: boolWhether or not the response was validated with the origin server before
being served from cache. This field is only meaningful if cache_hit is
True.
cache_fill_bytes: i64The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.
protocol: StringProtocol used for the request. Examples: “HTTP/1.1”, “HTTP/2”, “websocket”
Trait Implementations
impl Clone for HttpRequest[src]
fn clone(&self) -> HttpRequest[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for HttpRequest[src]
impl Default for HttpRequest[src]
fn default() -> HttpRequest[src]
impl Message for HttpRequest[src]
fn encode_raw<B>(&self, buf: &mut B) where
    B: BufMut, [src]
B: BufMut,
fn merge_field<B>(
    &mut self, 
    tag: u32, 
    wire_type: WireType, 
    buf: &mut B, 
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf, [src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize[src]
fn clear(&mut self)[src]
pub fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
    B: BufMut, [src]
B: BufMut,
pub fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
    B: BufMut, [src]
B: BufMut,
pub fn decode<B>(buf: B) -> Result<Self, DecodeError> where
    Self: Default,
    B: Buf, [src]
Self: Default,
B: Buf,
pub fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
    Self: Default,
    B: Buf, [src]
Self: Default,
B: Buf,
pub fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
    B: Buf, [src]
B: Buf,
pub fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
    B: Buf, [src]
B: Buf,
impl PartialEq<HttpRequest> for HttpRequest[src]
fn eq(&self, other: &HttpRequest) -> bool[src]
fn ne(&self, other: &HttpRequest) -> bool[src]
impl StructuralPartialEq for HttpRequest[src]
Auto Trait Implementations
impl RefUnwindSafe for HttpRequest
impl Send for HttpRequest
impl Sync for HttpRequest
impl Unpin for HttpRequest
impl UnwindSafe for HttpRequest
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> IntoRequest<T> for T[src]
pub fn into_request(self) -> Request<T>[src]
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, [src]
V: MultiLane<T>,
impl<T> WithSubscriber for T[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, [src]
S: Into<Dispatch>,