{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"MakeURLRequestUseCase"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/swiftlibscommunication\/makeurlrequestusecase"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MakeURLRequestUseCase","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"This use case generate a url request out of a given endpoint."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"MakeURLRequestUseCase"}],"title":"MakeURLRequestUseCase","roleHeading":"Structure","role":"symbol","symbolKind":"struct","externalID":"s:22SwiftLibsCommunication21MakeURLRequestUseCaseV","modules":[{"name":"SwiftLibsCommunication"}],"navigatorTitle":[{"kind":"identifier","text":"MakeURLRequestUseCase"}]},"hierarchy":{"paths":[["doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MakeURLRequestUseCase\/init()"]},{"title":"Instance Methods","identifiers":["doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MakeURLRequestUseCase\/callAsFunction(endpoint:)"]}],"references":{"doc://SwiftLibsCommunication/documentation/SwiftLibsCommunication/MakeURLRequestUseCase/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[],"identifier":"doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MakeURLRequestUseCase\/init()","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibscommunication\/makeurlrequestusecase\/init()"},"doc://SwiftLibsCommunication/documentation/SwiftLibsCommunication":{"role":"collection","title":"SwiftLibsCommunication","abstract":[],"identifier":"doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibscommunication"},"doc://SwiftLibsCommunication/documentation/SwiftLibsCommunication/MakeURLRequestUseCase/callAsFunction(endpoint:)":{"role":"symbol","title":"callAsFunction(endpoint:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"endpoint"},{"kind":"text","text":": some "},{"kind":"typeIdentifier","text":"Endpoint","preciseIdentifier":"s:22SwiftLibsCommunication8EndpointP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"URLRequest","preciseIdentifier":"s:10Foundation10URLRequestV"}],"abstract":[{"type":"text","text":"Generate a "},{"type":"codeVoice","code":"URLRequest"},{"type":"text","text":" instance out of a given endpoint that conforms to the "},{"type":"codeVoice","code":"Endpoint"},{"type":"text","text":" protocol."}],"identifier":"doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MakeURLRequestUseCase\/callAsFunction(endpoint:)","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibscommunication\/makeurlrequestusecase\/callasfunction(endpoint:)"},"doc://SwiftLibsCommunication/documentation/SwiftLibsCommunication/MakeURLRequestUseCase":{"role":"symbol","title":"MakeURLRequestUseCase","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"MakeURLRequestUseCase"}],"abstract":[{"type":"text","text":"This use case generate a url request out of a given endpoint."}],"identifier":"doc:\/\/SwiftLibsCommunication\/documentation\/SwiftLibsCommunication\/MakeURLRequestUseCase","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"MakeURLRequestUseCase"}],"url":"\/documentation\/swiftlibscommunication\/makeurlrequestusecase"}}}