Skip to content

Commit

Permalink
feat: allow users to choose ipv4 or ipv6 for api checks [sc-0] (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
umutuzgur authored Jun 20, 2024
1 parent 76a8678 commit dea54f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cli/src/constructs/api-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ export type HttpRequestMethod =
| 'delete' | 'DELETE'
| 'options' | 'OPTIONS'

export type IPFamily = 'IPv4' | 'IPv6'
export interface BasicAuth {
username: string
password: string
Expand All @@ -209,6 +210,7 @@ export type ApiCheckDefaultConfig = {
export interface Request {
url: string,
method: HttpRequestMethod,
ipFamily?: IPFamily,
followRedirects?: boolean,
skipSSL?: boolean,
/**
Expand Down

0 comments on commit dea54f0

Please sign in to comment.