1 line
6.6 KiB
JSON
1 line
6.6 KiB
JSON
|
|
{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Client\/init(serverURL:configuration:transport:middlewares:)"},"hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Client"]]},"metadata":{"title":"init(serverURL:configuration:transport:middlewares:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"serverURL","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"text":", ","kind":"text"},{"text":"configuration","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Configuration","kind":"typeIdentifier","preciseIdentifier":"s:14OpenAPIRuntime13ConfigurationV"},{"text":", ","kind":"text"},{"text":"transport","kind":"externalParam"},{"text":": any ","kind":"text"},{"text":"ClientTransport","kind":"typeIdentifier","preciseIdentifier":"s:14OpenAPIRuntime15ClientTransportP"},{"text":", ","kind":"text"},{"text":"middlewares","kind":"externalParam"},{"text":": [any ","kind":"text"},{"text":"ClientMiddleware","kind":"typeIdentifier","preciseIdentifier":"s:14OpenAPIRuntime16ClientMiddlewareP"},{"text":"])","kind":"text"}],"externalID":"s:13MarvelService6ClientV9serverURL13configuration9transport11middlewaresAC10Foundation0E0V_14OpenAPIRuntime13ConfigurationVAK0C9Transport_pSayAK0C10Middleware_pGtcfc","roleHeading":"Initializer","role":"symbol","symbolKind":"init","modules":[{"name":"MarvelService"}]},"schemaVersion":{"minor":3,"major":0,"patch":0},"kind":"symbol","sections":[],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"text":"init","kind":"keyword"},{"text":"(","kind":"text"},{"text":"serverURL","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"URL","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV"},{"text":", ","kind":"text"},{"text":"configuration","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Configuration","kind":"typeIdentifier","preciseIdentifier":"s:14OpenAPIRuntime13ConfigurationV"},{"text":" = .init(), ","kind":"text"},{"text":"transport","kind":"externalParam"},{"text":": any ","kind":"text"},{"text":"ClientTransport","kind":"typeIdentifier","preciseIdentifier":"s:14OpenAPIRuntime15ClientTransportP"},{"text":", ","kind":"text"},{"text":"middlewares","kind":"externalParam"},{"text":": [any ","kind":"text"},{"text":"ClientMiddleware","kind":"typeIdentifier","preciseIdentifier":"s:14OpenAPIRuntime16ClientMiddlewareP"},{"text":"] = [])","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"},{"parameters":[{"name":"serverURL","content":[{"type":"paragraph","inlineContent":[{"text":"The server URL that the client connects to. Any server","type":"text"},{"text":" ","type":"text"},{"text":"URLs defined in the OpenAPI document are available as static methods","type":"text"},{"text":" ","type":"text"},{"text":"on the ","type":"text"},{"identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Servers","isActive":true,"type":"reference"},{"text":" type.","type":"text"}]}]},{"name":"configuration","content":[{"type":"paragraph","inlineContent":[{"text":"A set of configuration values for the client.","type":"text"}]}]},{"name":"transport","content":[{"type":"paragraph","inlineContent":[{"text":"A transport that performs HTTP operations.","type":"text"}]}]},{"name":"middlewares","content":[{"type":"paragraph","inlineContent":[{"text":"A list of middlewares to call before the transport.","type":"text"}]}]}],"kind":"parameters"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/marvelservice\/client\/init(serverurl:configuration:transport:middlewares:)"]}],"abstract":[{"text":"Creates a new client.","type":"text"}],"references":{"doc://MarvelService/documentation/MarvelService/Client":{"abstract":[{"text":"The Marvel Comics RESTful API.","type":"text"}],"role":"symbol","identifier":"doc:\/\/MarvelService\/documentation\/MarvelService\/Client","navigatorTitle":[{
|