Skip to content

Commit

Permalink
add request Close
Browse files Browse the repository at this point in the history
  • Loading branch information
malong committed Apr 23, 2018
1 parent f66876a commit 72e4c8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions request.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ type Args struct {
BasicAuth BasicAuth
Body io.Reader
Hooks []Hook
Close bool
}

// Request is alias Args
Expand Down Expand Up @@ -386,5 +387,6 @@ func req2arg(req *Request) (a *Args) {
BasicAuth: req.BasicAuth,
Body: req.Body,
Hooks: req.Hooks,
Close: req.Close,
}
}

0 comments on commit 72e4c8a

Please sign in to comment.