Expand description
Constructors§
Source§new HttpRequest<
L extends string,
const P extends WithCredentials<HttpRequestProps>,
>(
id: L,
props: P,
): HttpRequest<L, P>
new HttpRequest<
L extends string,
const P extends WithCredentials<HttpRequestProps>,
>(
id: L,
props: P,
): HttpRequest<L, P>
Properties§
Methods§
Source§canTakeInput(
_fromState: IChainable,
_withConnectionOptions?: ConnectionOptions,
): boolean
canTakeInput(
_fromState: IChainable,
_withConnectionOptions?: ConnectionOptions,
): boolean
Determines if this state can accept input from another state
Source§clone<Id extends string>(
id: Id,
props?: NodeProps,
cloneOptions?: { preserveChainConnections?: boolean },
): Omit<HttpRequest<L, P>, "id"> & Node<
Id,
IsNever<P["outputSchema"]> extends true
? never
: NonNullable<P["outputSchema"]>["infer"],
>
clone<Id extends string>(
id: Id,
props?: NodeProps,
cloneOptions?: { preserveChainConnections?: boolean },
): Omit<HttpRequest<L, P>, "id"> & Node<
Id,
IsNever<P["outputSchema"]> extends true
? never
: NonNullable<P["outputSchema"]>["infer"],
>
Creates a deep copy of this node with a new ID and optional property overrides
Source§getCredentials(): (undefined | Credentials<any>)[]
getCredentials(): (undefined | Credentials<any>)[]
Returns the credentials required by this node
Source§listOutgoing(): IChainable<string, any>[]
listOutgoing(): IChainable<string, any>[]
Returns all states that are connected as next states from this state
Makes an HTTP request and returns the response data