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 information for the \u003ccode\u003eHttpRequestContext\u003c/code\u003e class within the Google Cloud Error Reporting v1beta1 API, specifically for version 3.0.0-beta04, with links to other versions available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpRequestContext\u003c/code\u003e class is used to encapsulate HTTP request data related to a reported error and is designed to be implemented by applications when reporting issues, or can be generated automatically from Google App Engine logs.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the base \u003ccode\u003eobject\u003c/code\u003e class 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, which provide functionalities such as message handling, equality comparison, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpRequestContext\u003c/code\u003e class contains properties like \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, allowing the storage and retrieval of different HTTP request attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe provided documentation contains information on the available constructors, one of which allows for the creation of a new \u003ccode\u003eHttpRequestContext\u003c/code\u003e from another \u003ccode\u003eHttpRequestContext\u003c/code\u003e object, and also lists the inherited members from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]