Skip to content

A simple server written in c that can send http responses

Notifications You must be signed in to change notification settings

TheStrgamer/c-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple http server written in c

It can parse html files with commands Commands are put in the html and are written like this: { Function arg } Where function is the function to use, and arg is for example a txt file.

So far, the commands that have functionality

  • text
  • list

text pust the txt file content in the html as pure text It could be put in for example a <p>

list parses the content of the txt file as

  • elements

    Here are some examples of implementations

    { text example.txt }

    { list names.txt }
  • About

    A simple server written in c that can send http responses

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published