Permalink
Browse files

Add Request.redirectChain()

  • Loading branch information...
zploskey committed Mar 16, 2018
1 parent 1878eb6 commit e85dbe5e5973bc94a892ec7f880290b142d3606f
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/Request.re
@@ -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:

0 comments on commit e85dbe5

Please sign in to comment.