-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proxyless: onConfigureResponse, onResponse events (#2803)
- Loading branch information
1 parent
778eb36
commit 87c1b71
Showing
9 changed files
with
138 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
import { RequestInfo } from '../info'; | ||
import { RequestInfo, ResponseInfo } from '../info'; | ||
import RequestOptions from '../../../request-options'; | ||
import ConfigureResponseEvent from '../../../../session/events/configure-response-event'; | ||
import RequestFilterRule from '../../request-filter-rule'; | ||
|
||
|
||
export default abstract class BaseRequestHookEventFactory { | ||
public abstract createRequestInfo (): RequestInfo; | ||
public abstract createRequestOptions (): RequestOptions; | ||
public abstract createConfigureResponseEvent (rule: RequestFilterRule): ConfigureResponseEvent; | ||
public abstract createResponseInfo (): ResponseInfo; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.