Skip to content

SlowsieNT/MiniHttpServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MiniHttpServer

Simple http server

License?

It is OPTIONAL to leave credits, relief- isn't it?

Command Line

minihttp.exe settings.json

JSON Structure

// NOTE: in JSON, most values can be null
public class JServerSettings {
    public string[] ServerPrefixes;
    public string ServerPath;
    public bool ServerAllowIndexOf;
    public bool ServerLog;
    public int ServerBufferSize; // 64MiB is limit
    public string[] DefaultPages;
    public string[] DefaultPagesAdd;
    public string[] MimeTypes;
    public string[] MimeTypesAdd;
    public object[][] PathRules;
    public string IndexOfDirLine;
    public string IndexOfFileLine;
    public string IndexOfFileHeader;
    public string IndexOfFileFooter;
    public string IndexOfNeedle1;
}