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