Show / Hide Table of Contents

Class BasicHttpServer

Simple HTTP server that hosts the content of the resources directory (as configured in the server configuration).

Inheritance
object
BasicHttpServer
Implements
IResourceServer
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Server.Resources.Serving
Assembly: SlipeServer.Server.dll
Syntax
public class BasicHttpServer : IResourceServer

Constructors

| Edit this page View Source

BasicHttpServer(Configuration, ILogger)

Declaration
public BasicHttpServer(Configuration configuration, ILogger logger)
Parameters
Type Name Description
Configuration configuration
ILogger logger

Methods

| Edit this page View Source

AddAdditionalResource(Resource, Dictionary<string, byte[]>)

Declaration
public void AddAdditionalResource(Resource resource, Dictionary<string, byte[]> files)
Parameters
Type Name Description
Resource resource
Dictionary<string, byte[]> files
| Edit this page View Source

RemoveAdditionalResource(Resource)

Declaration
public void RemoveAdditionalResource(Resource resource)
Parameters
Type Name Description
Resource resource
| Edit this page View Source

Start()

Declaration
public void Start()
| Edit this page View Source

Stop()

Declaration
public void Stop()

Implements

IResourceServer
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX