Skip to content

Commit dea54f0

Browse files
authored
feat: allow users to choose ipv4 or ipv6 for api checks [sc-0] (#951)
1 parent 76a8678 commit dea54f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: packages/cli/src/constructs/api-check.ts

+2
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ export type HttpRequestMethod =
194194
| 'delete' | 'DELETE'
195195
| 'options' | 'OPTIONS'
196196

197+
export type IPFamily = 'IPv4' | 'IPv6'
197198
export interface BasicAuth {
198199
username: string
199200
password: string
@@ -209,6 +210,7 @@ export type ApiCheckDefaultConfig = {
209210
export interface Request {
210211
url: string,
211212
method: HttpRequestMethod,
213+
ipFamily?: IPFamily,
212214
followRedirects?: boolean,
213215
skipSSL?: boolean,
214216
/**

0 commit comments

Comments
 (0)