Skip to content

Commit

Permalink
Add Request.redirectChain()
Browse files Browse the repository at this point in the history
  • Loading branch information
zploskey committed Mar 16, 2018
1 parent 1878eb6 commit e85dbe5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Request.re
Expand Up @@ -84,6 +84,13 @@ external frame : t => option(FrameBase.t) = "";

[@bs.send] [@bs.return nullable] external postData : t => option(string) = "";

/**
* The chain of requests initiated to fetch a resource. If there were no
* redirects the chain will be empty.
*/
[@bs.send]
external redirectChain : t => array(t) = "";

/**
* The request's resource type as it was perceived by the rendering engine.
* ResourceType will be one of the following:
Expand Down

0 comments on commit e85dbe5

Please sign in to comment.