• Parameters

    • graphqlHandler: GraphQLHandler
    • Optionaloptions: {
          checkGraphQLResult?: ((result: Record<string, any>) => void);
          checkRequest?: ((request: ClientRequest & {
              headers: Record<string, string>;
          }, body: Body) => void);
      }
      • OptionalcheckGraphQLResult?: ((result: Record<string, any>) => void)
          • (result): void
          • Parameters

            • result: Record<string, any>

            Returns void

      • OptionalcheckRequest?: ((request: ClientRequest & {
            headers: Record<string, string>;
        }, body: Body) => void)
          • (request, body): void
          • Parameters

            • request: ClientRequest & {
                  headers: Record<string, string>;
              }
            • body: Body

            Returns void

    Returns ReplyFn