public sealed class HttpRequestContext : IMessage<HttpRequestContext>, IEquatable<HttpRequestContext>, IDeepCloneable<HttpRequestContext>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Error Reporting v1beta1 API class HttpRequestContext.
HTTP request data that is related to a reported error.
This data should be provided by the application when reporting an error,
unless the
error report has been generated automatically from Google App Engine logs.
The IP address from which the request originated.
This can be IPv4, IPv6, or a token which is derived from the
IP address, depending on the data that has been provided
in the error report.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference details for the \u003ccode\u003eHttpRequestContext\u003c/code\u003e class within the Google Cloud Error Reporting v1beta1 API, detailing its role in managing HTTP request data related to error reports.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpRequestContext\u003c/code\u003e class is designed to be used by applications to report error data, but can also be automatically generated from Google App Engine logs.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering features like message handling, comparison, and cloning.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eHttpRequestContext\u003c/code\u003e include \u003ccode\u003eMethod\u003c/code\u003e, \u003ccode\u003eReferrer\u003c/code\u003e, \u003ccode\u003eRemoteIp\u003c/code\u003e, \u003ccode\u003eResponseStatusCode\u003c/code\u003e, \u003ccode\u003eUrl\u003c/code\u003e, and \u003ccode\u003eUserAgent\u003c/code\u003e, all of which are \u003ccode\u003estring\u003c/code\u003e type, except \u003ccode\u003eResponseStatusCode\u003c/code\u003e which is an \u003ccode\u003eint\u003c/code\u003e, and they provide specific details about the HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe document provides reference to 3 versions of the \u003ccode\u003eHttpRequestContext\u003c/code\u003e class, with version 3.0.0-beta05 being the latest available version.\u003c/p\u003e\n"]]],[],null,[]]