OBJECT

HTTPRequestContext

# GraphQL Schema definition

1type HTTPRequestContext {
 
2# Returns array of configured authentication providers
3authentication_providers: [AuthenticationProvider]
 
4body: String
 
5# Returns a String with the last requested path including their params. /foo?bar
6current_full_path: String!
 
7current_path: String!
 
8# Returns the original request URL as a String. # =>
9# "http://www.example.com/articles?page=2"
10current_url: String!
 
11flash: FlashMessages
 
12form_authenticity_token: String!
 
13# Access request headers
14headers: HeadersObject!
 
15# Returns true if the “X-Requested-With” header contains “XMLHttpRequest”
16# (case-insensitive),which may need to be manually added depending on the choice
17# of JavaScript libraries and frameworks.
18is_xhr: Boolean
 
19# Access data sent in by the user or other parameters in your controller actions
20params: ParamsObject!
 
21params_unfiltered: HashObject!
 
22# The referer of the client
23referer: String
 
24}

# Required by