!EoyccMaVGwdqyfKMAL:matrix.org

Nim Web Development

6300 Members
A channel to talk about web development with Nim.27 Servers

Load older messages


SenderMessageTime
14 Jan 2025
@_discord_143177514385145856:t2bot.ionervecenter I meant syncrhonous 19:45:23
@_discord_143177514385145856:t2bot.ionervecenter * I meant synchronous 19:45:32
@leorize:envs.netleorize you can just clone asynchttpserver and turn it synchronous 19:46:28
@leorize:envs.netleorizethe code is short and simple, with async only used to facilitate multiple clients at once19:47:12
@leorize:envs.netleorizeso just dropping all mentions of async should get you a synchronous server19:47:37
@_discord_153300788976812032:t2bot.iomjsdev joined the room.21:00:02
15 Jan 2025
@_discord_1120679870112989335:t2bot.iomikeneko.jp joined the room.03:41:48
@_discord_162571170904801280:t2bot.ioblackmius interesting but no synchronous singlethreaded http server exists in nim (at least well known) 04:44:12
@_discord_162571170904801280:t2bot.ioblackmius try to write yourself
get http parser https://github.com/philip-wernersbach/nim-picohttpparser

and nim std/net socket

and make while true:
conn = accept()
data = recv(conn)
method, path, headers, body = http_parse(data)
response = handle_request(method, path, headers, body)
write(conn, response)
close(conn)
04:51:38
@funpower:matrix.orgfunpowerHi Can anyone share a good design portfolio code09:04:23
@_discord_138279121586225152:t2bot.ioangelsdust Find a free html template and slap that bad boy in 11:28:32
@_discord_217819991599349760:t2bot.ioexodecode joined the room.19:50:17
@_discord_675725318014894090:t2bot.iolacarota joined the room.21:00:35
@_discord_1329199873140068362:t2bot.ioexinim1 joined the room.21:31:24
16 Jan 2025
@_discord_670702060814991390:t2bot.iojoaooojj joined the room.01:38:23
@_discord_211084188567339008:t2bot.ioroquess joined the room.03:52:28
@_discord_1074669087151628368:t2bot.iopithing joined the room.07:45:15
@mantixlu:matrix.org@mantixlu:matrix.org joined the room.08:24:08
@mantixlu:matrix.org@mantixlu:matrix.org left the room.08:24:23
@_discord_458164811889377290:t2bot.iovaldar0915 changed their display name from Valdar to valdar0915.11:29:07
@_discord_896884647731019837:t2bot.iomoeskyhigh joined the room.12:46:33
@_discord_691997620935196752:t2bot.iobsdooby joined the room.13:41:58
@curtis10:matrix.orgcurtis10 set a profile picture.15:17:06
@jose1r:matrix.org@jose1r:matrix.org joined the room.17:00:18
@nim-lang-mjolnir:matrix.orgnim-lang-mjolnir banned @jose1r:matrix.org@jose1r:matrix.org (spam).17:01:05
@_discord_1292739848053981250:t2bot.ioaethrvmn_32073 changed their profile picture.20:50:48
17 Jan 2025
@_discord_1300681049545773067:t2bot.iohalo508399 joined the room.05:41:05
@_discord_1313584961705480266:t2bot.ioydgdgyy joined the room.06:09:27
@_discord_1329804967623655465:t2bot.iocute_pony_20946 joined the room.13:36:20
@_discord_1321931180286677004:t2bot.iojustunknown666 joined the room.13:36:50

Show newer messages


Back to Room ListRoom Version: 6