File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -695,7 +695,11 @@ export type MockttpHttpsOptions = CAOptions & {
695
695
* options will throw an error.
696
696
*
697
697
* Each element in this list must be an object with a 'hostname' field for the
698
- * hostname that should be matched. In future more options may be supported
698
+ * hostname that should be matched. Wildcards are supported (following the
699
+ * [URLPattern specification](https://developer.mozilla.org/en-US/docs/Web/API/URL_Pattern_API)),
700
+ * eg. `{hostname: '*.example.com'}`.
701
+ *
702
+ * In future more options may be supported
699
703
* here for additional configuration of this behaviour.
700
704
*/
701
705
tlsPassthrough ?: Array < { hostname : string } > ;
@@ -711,7 +715,11 @@ export type MockttpHttpsOptions = CAOptions & {
711
715
* options will throw an error.
712
716
*
713
717
* Each element in this list must be an object with a 'hostname' field for the
714
- * hostname that should be matched. In future more options may be supported
718
+ * hostname that should be matched. Wildcards are supported (following the
719
+ * [URLPattern specification](https://developer.mozilla.org/en-US/docs/Web/API/URL_Pattern_API)),
720
+ * eg. `{hostname: '*.example.com'}`.
721
+ *
722
+ * In future more options may be supported
715
723
* here for additional configuration of this behaviour.
716
724
*/
717
725
tlsInterceptOnly ?: Array < { hostname : string } > ;
You can’t perform that action at this time.
0 commit comments