From 7d9a5bc08cb8c5f72a6795aef9374eef12a7cdef Mon Sep 17 00:00:00 2001 From: James Hu <51237606+jameshu111@users.noreply.github.com> Date: Thu, 8 Jun 2023 13:19:09 -0400 Subject: extra comment forgot to commit --- src/client/Network.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/client/Network.ts b/src/client/Network.ts index 1ab9c6fc5..d606b9854 100644 --- a/src/client/Network.ts +++ b/src/client/Network.ts @@ -2,6 +2,11 @@ import { Utils } from '../Utils'; import requestPromise = require('request-promise'); import { Upload } from '../server/SharedMediaTypes'; +/** + * Networking is repsonsible for connecting the client to the server. Networking + * mainly provides methods that the client can use to begin the process of + * interacting with the server, such as fetching or uploading files. + */ export namespace Networking { export async function FetchFromServer(relativeRoute: string) { return (await fetch(relativeRoute)).text(); -- cgit v1.2.3-70-g09d2