We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea086c2 + 05ffb0c commit e5ccb79Copy full SHA for e5ccb79
request.go
@@ -91,6 +91,11 @@ func (r *Request) Abort() {
91
r.abort = true
92
}
93
94
+// IsAbort returns true if the request has been aborted
95
+func (r *Request) IsAbort() bool {
96
+ return r.abort
97
+}
98
+
99
// AbsoluteURL returns with the resolved absolute URL of an URL chunk.
100
// AbsoluteURL returns empty string if the URL chunk is a fragment or
101
// could not be parsed
0 commit comments