protected patches()

in src/plugins/event-plugins/XhrPlugin.ts [118:131]


    protected patches(): MonkeyPatch[] {
        return [
            {
                nodule: XMLHttpRequest.prototype,
                name: 'send',
                wrapper: this.sendWrapper
            },
            {
                nodule: XMLHttpRequest.prototype,
                name: 'open',
                wrapper: this.openWrapper
            }
        ];
    }