{ "hierarchy" : { "paths" : [ [ "doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient", "doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient" ] ] }, "identifier" : { "interfaceLanguage" : "swift", "url" : "doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/sendRequest(to:port:message:completion:)" }, "kind" : "symbol", "metadata" : { "externalID" : "s:17swiftGopherClient0bC0C11sendRequest2to4port7message10completionySS_SiSSys6ResultOySay0B7Helpers10gopherItemVGs5Error_pGctF", "fragments" : [ { "kind" : "keyword", "text" : "func" }, { "kind" : "text", "text" : " " }, { "kind" : "identifier", "text" : "sendRequest" }, { "kind" : "text", "text" : "(" }, { "kind" : "externalParam", "text" : "to" }, { "kind" : "text", "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:SS", "text" : "String" }, { "kind" : "text", "text" : ", " }, { "kind" : "externalParam", "text" : "port" }, { "kind" : "text", "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:Si", "text" : "Int" }, { "kind" : "text", "text" : ", " }, { "kind" : "externalParam", "text" : "message" }, { "kind" : "text", "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:SS", "text" : "String" }, { "kind" : "text", "text" : ", " }, { "kind" : "externalParam", "text" : "completion" }, { "kind" : "text", "text" : ": (" }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:s6ResultO", "text" : "Result" }, { "kind" : "text", "text" : "<[" }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:13GopherHelpers10gopherItemV", "text" : "gopherItem" }, { "kind" : "text", "text" : "], " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:s5ErrorP", "text" : "Error" }, { "kind" : "text", "text" : ">) -> " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:s4Voida", "text" : "Void" }, { "kind" : "text", "text" : ")" } ], "modules" : [ { "name" : "swiftGopherClient" } ], "role" : "symbol", "roleHeading" : "Instance Method", "symbolKind" : "method", "title" : "sendRequest(to:port:message:completion:)" }, "primaryContentSections" : [ { "declarations" : [ { "languages" : [ "swift" ], "platforms" : [ "macOS" ], "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", "preciseIdentifier" : "s:SS", "text" : "String" }, { "kind" : "text", "text" : ", " }, { "kind" : "externalParam", "text" : "port" }, { "kind" : "text", "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:Si", "text" : "Int" }, { "kind" : "text", "text" : " = 70, " }, { "kind" : "externalParam", "text" : "message" }, { "kind" : "text", "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:SS", "text" : "String" }, { "kind" : "text", "text" : ", " }, { "kind" : "externalParam", "text" : "completion" }, { "kind" : "text", "text" : ": " }, { "kind" : "keyword", "text" : "@escaping" }, { "kind" : "text", "text" : " (" }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:s6ResultO", "text" : "Result" }, { "kind" : "text", "text" : "<[" }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:13GopherHelpers10gopherItemV", "text" : "gopherItem" }, { "kind" : "text", "text" : "], " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:s5ErrorP", "text" : "Error" }, { "kind" : "text", "text" : ">) -> " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:s4Voida", "text" : "Void" }, { "kind" : "text", "text" : ")" } ] } ], "kind" : "declarations" } ], "schemaVersion" : { "major" : 0, "minor" : 3, "patch" : 0 }, "sections" : [ ], "variants" : [ { "paths" : [ "\/documentation\/swiftgopherclient\/gopherclient\/sendrequest(to:port:message:completion:)" ], "traits" : [ { "interfaceLanguage" : "swift" } ] } ] , "references": { "doc://swiftGopherClient/documentation/swiftGopherClient": { "abstract" : [ ], "identifier" : "doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient", "kind" : "symbol", "role" : "collection", "title" : "swiftGopherClient", "type" : "topic", "url" : "\/documentation\/swiftgopherclient" }, "doc://swiftGopherClient/documentation/swiftGopherClient/GopherClient": { "abstract" : [ ], "fragments" : [ { "kind" : "keyword", "text" : "class" }, { "kind" : "text", "text" : " " }, { "kind" : "identifier", "text" : "GopherClient" } ], "identifier" : "doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient", "kind" : "symbol", "navigatorTitle" : [ { "kind" : "identifier", "text" : "GopherClient" } ], "role" : "symbol", "title" : "GopherClient", "type" : "topic", "url" : "\/documentation\/swiftgopherclient\/gopherclient" }, "doc://swiftGopherClient/documentation/swiftGopherClient/GopherClient/sendRequest(to:port:message:completion:)": { "abstract" : [ ], "fragments" : [ { "kind" : "keyword", "text" : "func" }, { "kind" : "text", "text" : " " }, { "kind" : "identifier", "text" : "sendRequest" }, { "kind" : "text", "text" : "(" }, { "kind" : "externalParam", "text" : "to" }, { "kind" : "text", "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:SS", "text" : "String" }, { "kind" : "text", "text" : ", " }, { "kind" : "externalParam", "text" : "port" }, { "kind" : "text", "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:Si", "text" : "Int" }, { "kind" : "text", "text" : ", " }, { "kind" : "externalParam", "text" : "message" }, { "kind" : "text", "text" : ": " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:SS", "text" : "String" }, { "kind" : "text", "text" : ", " }, { "kind" : "externalParam", "text" : "completion" }, { "kind" : "text", "text" : ": (" }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:s6ResultO", "text" : "Result" }, { "kind" : "text", "text" : "<[" }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:13GopherHelpers10gopherItemV", "text" : "gopherItem" }, { "kind" : "text", "text" : "], " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:s5ErrorP", "text" : "Error" }, { "kind" : "text", "text" : ">) -> " }, { "kind" : "typeIdentifier", "preciseIdentifier" : "s:s4Voida", "text" : "Void" }, { "kind" : "text", "text" : ")" } ], "identifier" : "doc:\/\/swiftGopherClient\/documentation\/swiftGopherClient\/GopherClient\/sendRequest(to:port:message:completion:)", "kind" : "symbol", "role" : "symbol", "title" : "sendRequest(to:port:message:completion:)", "type" : "topic", "url" : "\/documentation\/swiftgopherclient\/gopherclient\/sendrequest(to:port:message:completion:)" } } }