@@ -651,6 +651,7 @@ interface SerializedPassThroughData {
651651 type : 'passthrough' ;
652652 forwardToLocation ?: string ;
653653 forwarding ?: ForwardingOptions ;
654+ proxyConfig ?: ProxyConfig ;
654655 ignoreHostCertificateErrors ?: string [ ] ; // Doesn't match option name, backward compat
655656 clientCertificateHostMap ?: { [ host : string ] : { pfx : string , passphrase ?: string } } ;
656657 lookupOptions ?: PassThroughLookupOptions ;
@@ -1501,6 +1502,7 @@ export class PassThroughHandler extends Serializable implements RequestHandler {
15011502 forwardToLocation : this . forwarding . targetHost ,
15021503 forwarding : this . forwarding
15031504 } : { } ,
1505+ proxyConfig : this . proxyConfig ,
15041506 lookupOptions : this . lookupOptions ,
15051507 ignoreHostCertificateErrors : this . ignoreHostHttpsErrors ,
15061508 clientCertificateHostMap : _ . mapValues ( this . clientCertificateHostMap ,
@@ -1604,6 +1606,7 @@ export class PassThroughHandler extends Serializable implements RequestHandler {
16041606 forwarding : { targetHost : data . forwardToLocation }
16051607 } : { } ,
16061608 forwarding : data . forwarding ,
1609+ proxyConfig : data . proxyConfig ,
16071610 lookupOptions : data . lookupOptions ,
16081611 ignoreHostHttpsErrors : data . ignoreHostCertificateErrors ,
16091612 clientCertificateHostMap : _ . mapValues ( data . clientCertificateHostMap ,
0 commit comments