aboutsummaryrefslogtreecommitdiff
path: root/docs/data/documentation/swiftgopherclient/gopherclient.json
blob: fe858394a76656f0f2794ee9239e81d5111d6e15 (plain)
1
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"GopherClient"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"It utilizes "},{"type":"codeVoice","code":"NIOTSEventLoopGroup"},{"type":"text","text":" on iOS\/macOS (Not sure why you would run this on watchOS\/tvOS but it supports that as well) for network operations, falling back to "},{"type":"codeVoice","code":"MultiThreadedEventLoopGroup"},{"type":"text","text":" otherwise."}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/swiftgopherclient\/gopherclient"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient","interfaceLanguage":"swift"},"abstract":[{"type":"codeVoice","code":"GopherClient"},{"type":"text","text":" is a class for handling network connections and requests to Gopher servers."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"GopherClient"}],"title":"GopherClient","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"s:17swiftGopherClient0bC0C","modules":[{"name":"swiftGopherClient"}],"navigatorTitle":[{"kind":"identifier","text":"GopherClient"}]},"hierarchy":{"paths":[["doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/init()"]},{"title":"Instance Methods","identifiers":["doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/sendRequest(to:port:message:completion:)"]}],"references":{"doc://swiftGopherClient/documentation/swiftGopherClient/GopherClient/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[{"type":"text","text":"Initializes a new instance of "},{"type":"codeVoice","code":"GopherClient"},{"type":"text","text":"."}],"identifier":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/init()","kind":"symbol","type":"topic","url":"\/documentation\/swiftgopherclient\/gopherclient\/init()"},"doc://swiftGopherClient/documentation/swiftGopherClient/GopherClient":{"role":"symbol","title":"GopherClient","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"GopherClient"}],"abstract":[{"type":"codeVoice","code":"GopherClient"},{"type":"text","text":" is a class for handling network connections and requests to Gopher servers."}],"identifier":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"GopherClient"}],"url":"\/documentation\/swiftgopherclient\/gopherclient"},"doc://swiftGopherClient/documentation/swiftGopherClient":{"role":"collection","title":"swiftGopherClient","abstract":[],"identifier":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient","kind":"symbol","type":"topic","url":"\/documentation\/swiftgopherclient"},"doc://swiftGopherClient/documentation/swiftGopherClient/GopherClient/sendRequest(to:port:message:completion:)":{"role":"symbol","title":"sendRequest(to:port:message:completion:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"sendRequest"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"port"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"completion"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"Result","preciseIdentifier":"s:s6ResultO"},{"kind":"text","text":"<["},{"kind":"typeIdentifier","text":"gopherItem","preciseIdentifier":"s:13GopherHelpers10gopherItemV"},{"kind":"text","text":"], "},{"kind":"typeIdentifier","text":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Sends a request to a Gopher server."}],"identifier":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/sendRequest(to:port:message:completion:)","kind":"symbol","type":"topic","url":"\/documentation\/swiftgopherclient\/gopherclient\/sendrequest(to:port:message:completion:)"}}}