lib/graphql/stitching/http_executable.rb in graphql-stitching-1.4.3 vs lib/graphql/stitching/http_executable.rb in graphql-stitching-1.5.0

- old
+ new

@@ -4,9 +4,12 @@ require "uri" require "json" module GraphQL module Stitching + # HttpExecutable provides an out-of-the-box convenience for sending + # HTTP post requests to a remote location, or a base class + # for other implementations with GraphQL multipart uploads. class HttpExecutable # Builds a new executable for proxying subgraph requests via HTTP. # @param url [String] the url of the remote location to proxy. # @param headers [Hash] headers to include in upstream requests. # @param upload_types [Array<String>, nil] a list of scalar names that represent file uploads. These types extract into multipart forms.