Sha256: 2694415cc2252bbe39b43d1f82bff64018d74b386e337b7ce7f4deff9472aa80
Contents?: true
Size: 990 Bytes
Versions: 9
Compression:
Stored size: 990 Bytes
Contents
# frozen_string_literal: true require 'ffi' require_relative 'http_result' require_relative '../../ext/ffi_library_function_checks' module FFI module CPL module HTTP extend ::FFI::Library ffi_lib [FFI::CURRENT_PROCESS, FFI::GDAL.gdal_library_path] #------------------------------------------------------------------------- # Functions #------------------------------------------------------------------------- attach_function :CPLHTTPEnabled, [], :bool attach_function :CPLHTTPFetch, %i[string pointer], HTTPResult.ptr attach_function :CPLHTTPCleanup, [], :void attach_function :CPLHTTPDestroyResult, [HTTPResult.ptr], :void attach_function :CPLHTTPParseMultipartMime, [HTTPResult.ptr], :bool attach_function :GOA2GetAuthorizationURL, %i[string], :string attach_function :GOA2GetRefreshToken, %i[string string], :string attach_function :GOA2GetAccessToken, %i[string string], :string end end end
Version data entries
9 entries across 9 versions & 1 rubygems