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