ExplodingDragon2 / MiniHttpServer

a popular http server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kotlin HTTP Server

Java Version 1.8 HTTP 1.1 MIT Android API 15+ Build Fail

一个轻量级 Java Http Server。

一个轻量级 Kotlin Http Server。

一个轻量级 HTTP 1.1 服务端,使用 Kotlin ,兼容Android。

选择理由

  1. 代码量少,高内聚,低耦合
  2. 结构清晰,预置大量扩展方法

依赖方法

Maven

1. 添加 JitPack 仓库到 pom.xml

<repositories>
	<repository>
	    <id>jitpack.io</id>
	    <url>https://jitpack.io</url>
	</repository>
</repositories>

2. 添加依赖

注意:请将版本号换成实际所需的版本

<dependency>
    <groupId>com.github.ExplodingDragon.MiniHttpServer</groupId>
    <artifactId>core</artifactId>
    <version>v0.1-beta2</version>
</dependency>

Gradle

1. 添加 JitPack 仓库到 build.gradle

allprojects {
	repositories {
	
	
		maven { url 'https://jitpack.io' }
	}
}

2. 添加依赖

注意:请将版本号换成实际所需的版本

dependencies {
        implementation 'com.github.ExplodingDragon.MiniHttpServer:core:v0.1-beta2'
}

EOF

       ____  __________________     _____
      / / / / /_  __/_  __/ __ \   / ___/___  ______   _____  _____
 __  / / /_/ / / /   / / / /_/ /   \__ \/ _ \/ ___/ | / / _ \/ ___/
/ /_/ / __  / / /   / / / ____/   ___/ /  __/ /   | |/ /  __/ /
\____/_/ /_/ /_/   /_/ /_/       /____/\___/_/    |___/\___/_/

     [Star] https://github.com/ExplodingDragon/MiniHttpServer [Star]

[Issues] https://github.com/ExplodingDragon/MiniHttpServer/issues [Issues]

About

a popular http server.

License:MIT License


Languages

Language:Kotlin 94.2%Language:HTML 3.8%Language:Java 2.0%