aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/data/documentation/swiftgopherclient.json2
-rw-r--r--docs/data/documentation/swiftgopherclient/gopherclient.json2
-rw-r--r--docs/data/documentation/swiftgopherclient/gopherclient/init().json2
-rw-r--r--docs/data/documentation/swiftgopherclient/gopherclient/sendrequest(to:port:message:completion:).json2
4 files changed, 4 insertions, 4 deletions
diff --git a/docs/data/documentation/swiftgopherclient.json b/docs/data/documentation/swiftgopherclient.json
index 2182962..9c90a2b 100644
--- a/docs/data/documentation/swiftgopherclient.json
+++ b/docs/data/documentation/swiftgopherclient.json
@@ -1 +1 @@
-{"variants":[{"paths":["\/documentation\/swiftgopherclient"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient","interfaceLanguage":"swift"},"topicSections":[{"title":"Classes","identifiers":["doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient"]}],"kind":"symbol","metadata":{"roleHeading":"Framework","externalID":"swiftGopherClient","title":"swiftGopherClient","symbolKind":"module","role":"collection","modules":[{"name":"swiftGopherClient"}]},"hierarchy":{"paths":[[]]},"references":{"doc://swiftGopherClient/documentation/swiftGopherClient/GopherClient":{"role":"symbol","title":"GopherClient","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"GopherClient"}],"abstract":[],"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"}}} \ No newline at end of file
+{"variants":[{"paths":["\/documentation\/swiftgopherclient"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient","interfaceLanguage":"swift"},"topicSections":[{"title":"Classes","identifiers":["doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient"]}],"kind":"symbol","metadata":{"roleHeading":"Framework","externalID":"swiftGopherClient","title":"swiftGopherClient","symbolKind":"module","role":"collection","modules":[{"name":"swiftGopherClient"}]},"hierarchy":{"paths":[[]]},"references":{"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":{"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"}}} \ No newline at end of file
diff --git a/docs/data/documentation/swiftgopherclient/gopherclient.json b/docs/data/documentation/swiftgopherclient/gopherclient.json
index 06cfa23..fe85839 100644
--- a/docs/data/documentation/swiftgopherclient/gopherclient.json
+++ b/docs/data/documentation/swiftgopherclient/gopherclient.json
@@ -1 +1 @@
-{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"GopherClient"}],"languages":["swift"],"platforms":["macOS"]}]}],"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"},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/init()"]},{"title":"Instance Methods","identifiers":["doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/sendRequest(to:port:message:completion:)"]}],"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"]]},"references":{"doc://swiftGopherClient/documentation/swiftGopherClient/GopherClient":{"role":"symbol","title":"GopherClient","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"GopherClient"}],"abstract":[],"identifier":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"GopherClient"}],"url":"\/documentation\/swiftgopherclient\/gopherclient"},"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":[],"identifier":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/sendRequest(to:port:message:completion:)","kind":"symbol","type":"topic","url":"\/documentation\/swiftgopherclient\/gopherclient\/sendrequest(to:port:message:completion:)"},"doc://swiftGopherClient/documentation/swiftGopherClient/GopherClient/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[],"identifier":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/init()","kind":"symbol","type":"topic","url":"\/documentation\/swiftgopherclient\/gopherclient\/init()"},"doc://swiftGopherClient/documentation/swiftGopherClient":{"role":"collection","title":"swiftGopherClient","abstract":[],"identifier":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient","kind":"symbol","type":"topic","url":"\/documentation\/swiftgopherclient"}}} \ No newline at end of file
+{"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:)"}}} \ No newline at end of file
diff --git a/docs/data/documentation/swiftgopherclient/gopherclient/init().json b/docs/data/documentation/swiftgopherclient/gopherclient/init().json
index 3711040..4d673f2 100644
--- a/docs/data/documentation/swiftgopherclient/gopherclient/init().json
+++ b/docs/data/documentation/swiftgopherclient/gopherclient/init().json
@@ -1 +1 @@
-{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"()"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/swiftgopherclient\/gopherclient\/init()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/init()","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"title":"init()","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:17swiftGopherClient0bC0CACycfc","modules":[{"name":"swiftGopherClient"}]},"hierarchy":{"paths":[["doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient","doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient"]]},"references":{"doc://swiftGopherClient/documentation/swiftGopherClient/GopherClient/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[],"identifier":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/init()","kind":"symbol","type":"topic","url":"\/documentation\/swiftgopherclient\/gopherclient\/init()"},"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":{"role":"symbol","title":"GopherClient","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"GopherClient"}],"abstract":[],"identifier":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"GopherClient"}],"url":"\/documentation\/swiftgopherclient\/gopherclient"}}} \ No newline at end of file
+{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"()"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"It automatically chooses the appropriate "},{"type":"codeVoice","code":"EventLoopGroup"},{"type":"text","text":" based on the running platform."}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/swiftgopherclient\/gopherclient\/init()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/init()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initializes a new instance of "},{"type":"codeVoice","code":"GopherClient"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"title":"init()","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:17swiftGopherClient0bC0CACycfc","modules":[{"name":"swiftGopherClient"}]},"hierarchy":{"paths":[["doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient","doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient"]]},"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"}}} \ No newline at end of file
diff --git a/docs/data/documentation/swiftgopherclient/gopherclient/sendrequest(to:port:message:completion:).json b/docs/data/documentation/swiftgopherclient/gopherclient/sendrequest(to:port:message:completion:).json
index 35c9766..333598e 100644
--- a/docs/data/documentation/swiftgopherclient/gopherclient/sendrequest(to:port:message:completion:).json
+++ b/docs/data/documentation/swiftgopherclient/gopherclient/sendrequest(to:port:message:completion:).json
@@ -1 +1 @@
-{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"sendRequest"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":" "},{"kind":"internalParam","text":"host"},{"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":" = 70, "},{"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":"keyword","text":"@escaping"},{"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":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/swiftgopherclient\/gopherclient\/sendrequest(to:port:message:completion:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/sendRequest(to:port:message:completion:)","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"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":")"}],"title":"sendRequest(to:port:message:completion:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:17swiftGopherClient0bC0C11sendRequest2to4port7message10completionySS_SiSSys6ResultOySay0B7Helpers10gopherItemVGs5Error_pGctF","modules":[{"name":"swiftGopherClient"}]},"hierarchy":{"paths":[["doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient","doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient"]]},"references":{"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":[],"identifier":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/sendRequest(to:port:message:completion:)","kind":"symbol","type":"topic","url":"\/documentation\/swiftgopherclient\/gopherclient\/sendrequest(to:port:message:completion:)"},"doc://swiftGopherClient/documentation/swiftGopherClient/GopherClient":{"role":"symbol","title":"GopherClient","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"GopherClient"}],"abstract":[],"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"}}} \ No newline at end of file
+{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"sendRequest"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":" "},{"kind":"internalParam","text":"host"},{"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":" = 70, "},{"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":"keyword","text":"@escaping"},{"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":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"host","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The host address of the Gopher server."}]}]},{"name":"port","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The port of the Gopher server. Defaults to 70."}]}]},{"name":"message","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The message to be sent to the server."}]}]},{"name":"completion","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"A closure that handles the result of the request."}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The method asynchronously establishes a connection, sends the request, and calls the completion handler with the result."}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/swiftgopherclient\/gopherclient\/sendrequest(to:port:message:completion:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/sendRequest(to:port:message:completion:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Sends a request to a Gopher server."}],"kind":"symbol","metadata":{"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":")"}],"title":"sendRequest(to:port:message:completion:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:17swiftGopherClient0bC0C11sendRequest2to4port7message10completionySS_SiSSys6ResultOySay0B7Helpers10gopherItemVGs5Error_pGctF","modules":[{"name":"swiftGopherClient"}]},"hierarchy":{"paths":[["doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient","doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient"]]},"references":{"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/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:)"},"doc://swiftGopherClient/documentation/swiftGopherClient":{"role":"collection","title":"swiftGopherClient","abstract":[],"identifier":"doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient","kind":"symbol","type":"topic","url":"\/documentation\/swiftgopherclient"}}} \ No newline at end of file