Skip to content

Commit

Permalink
types: move forceSoap12Headers to IWsdlBaseOptions
Browse files Browse the repository at this point in the history
"forceSoap12Headers" works on server since bcc41e6. So, this option
should be available to server as well.
  • Loading branch information
peat-psuwit committed Apr 29, 2019
1 parent 2f033b1 commit a107b5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ export interface IWsdlBaseOptions {
wsdl_headers?: { [key: string]: any };
/** custom options for the request module on WSDL requests. */
wsdl_options?: { [key: string]: any };
/** set proper headers for SOAP v1.2. */
forceSoap12Headers?: boolean;
}

/** @deprecated use IOptions */
Expand All @@ -109,8 +111,6 @@ export interface IOptions extends IWsdlBaseOptions {
request?: req.RequestAPI<req.Request, req.CoreOptions, req.RequiredUriUrl>;
stream?: boolean;
// wsdl options that only work for client
/** set proper headers for SOAP v1.2. */
forceSoap12Headers?: boolean;
customDeserializer?: any;
/** if your wsdl operations contains names with Async suffix, you will need to override the default promise suffix to a custom one, default: Async. */
overridePromiseSuffix?: string;
Expand Down

0 comments on commit a107b5f

Please sign in to comment.