- Preparing search index...
- The search index is not available
cardano-sdk
- corsOptions(allowedOrigins: Set<string>): {
origin(requestOrigin: undefined | string, callback: ((err: null | Error, options?: StaticOrigin) => void)): void;
}
-
Parameters
-
allowedOrigins: Set<string>
Returns {
origin(requestOrigin: undefined | string, callback: ((err: null | Error, options?: StaticOrigin) => void)): void;
}
-
origin:function
- origin(requestOrigin: undefined | string, callback: ((err: null | Error, options?: StaticOrigin) => void)): void
-
Parameters
-
requestOrigin: undefined | string
-
callback: ((err: null | Error, options?: StaticOrigin) => void)
-
- (err: null | Error, options?: StaticOrigin): void
-
Returns void
Returns void