APISonar


org.rapidoid.config.Conf.HTTP

> org > rapidoid > config > Conf > HTTP
org APIs rapidoid APIs config APIs Conf APIs HTTP APIs

Example 1
public Server listen(String address, int port) {
		FastHttpProtocol protocol = new FastHttpProtocol(this);

		return TCP.server(Conf.HTTP)
			.protocol(protocol)
			.address(address)
			.port(port)
			.syncBufs(syncBufs)
			.build()
			.start();
	}