Files
marvel-service/docs/data/documentation/marvelservice/client/init(serverurl:configuration:transport:middlewares:).json
T

1 line
6.6 KiB
JSON
Raw Normal View History

2025-10-05 22:05:07 +00:00
{"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"serverURL"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"kind":"text","text":", "},{"kind":"externalParam","text":"configuration"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Configuration","preciseIdentifier":"s:14OpenAPIRuntime13ConfigurationV"},{"kind":"text","text":" = .init(), "},{"kind":"externalParam","text":"transport"},{"kind":"text","text":": any "},{"kind":"typeIdentifier","preciseIdentifier":"s:14OpenAPIRuntime15ClientTransportP","text":"ClientTransport"},{"kind":"text","text":", "},{"kind":"externalParam","text":"middlewares"},{"kind":"text","text":": [any "},{"kind":"typeIdentifier","text":"ClientMiddleware","preciseIdentifier":"s:14OpenAPIRuntime16ClientMiddlewareP"},{"text":"] = [])","kind":"text"}],"platforms":["macOS"]}],"kind":"declarations"},{"parameters":[{"name":"serverURL","content":[{"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","type":"reference","isActive":true},{"text":" type.","type":"text"}],"type":"paragraph"}]},{"name":"configuration","content":[{"inlineContent":[{"text":"A set of configuration values for the client.","type":"text"}],"type":"paragraph"}]},{"name":"transport","content":[{"inlineContent":[{"text":"A transport that performs HTTP operations.","type":"text"}],"type":"paragraph"}]},{"name":"middlewares","content":[{"inlineContent":[{"text":"A list of middlewares to call before the transport.","type":"text"}],"type":"paragraph"}]}],"kind":"parameters"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/MarvelService\/documentation\/MarvelService\/Client\/init(serverURL:configuration:transport:middlewares:)"},"abstract":[{"type":"text","text":"Creates a new client."}],"variants":[{"paths":["\/documentation\/marvelservice\/client\/init(serverurl:configuration:transport:middlewares:)"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/MarvelService\/documentation\/MarvelService","doc:\/\/MarvelService\/documentation\/MarvelService\/Client"]]},"metadata":{"externalID":"s:13MarvelService6ClientV9serverURL13configuration9transport11middlewaresAC10Foundation0E0V_14OpenAPIRuntime13ConfigurationVAK0C9Transport_pSayAK0C10Middleware_pGtcfc","title":"init(serverURL:configuration:transport:middlewares:)","symbolKind":"init","roleHeading":"Initializer","modules":[{"name":"MarvelService"}],"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"serverURL"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation3URLV","text":"URL"},{"text":", ","kind":"text"},{"text":"configuration","kind":"externalParam"},{"kind":"text","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"},{"kind":"text","text":", "},{"kind":"externalParam","text":"middlewares"},{"kind":"text","text":": [any "},{"kind":"typeIdentifier","preciseIdentifier":"s:14OpenAPIRuntime16ClientMiddlewareP","text":"ClientMiddleware"},{"kind":"text","text":"])"}],"role":"symbol"},"schemaVersion":{"patch":0,"minor":3,"major":0},"references":{"doc://MarvelService/documentation/MarvelService/Client/init(serverURL:configuration:transport:middlewares:)":{"url":"\/documentation\/marvelservice\/client\/init(serverurl:configuration:transport:middlewares:)","role":"symbol","identifi