class CrawlerRESTService : CoroutineScope
(source)
<init> |
CrawlerRESTService(port: Int = 0, networkInterface: String = "127.0.0.1", path: String = "/", maxRequestsPerSec: Int = 30, allowedOrigins: String = "*", allowedMethods: String = "*", allowedHeaders: String = "*", repository: RelationalPeerRepository, meter: Meter, coroutineContext: CoroutineContext = Dispatchers.Default) |
actualPort |
var actualPort: Int? |
allowedHeaders |
val allowedHeaders: String |
allowedMethods |
val allowedMethods: String |
allowedOrigins |
val allowedOrigins: String |
coroutineContext |
val coroutineContext: CoroutineContext |
maxRequestsPerSec |
val maxRequestsPerSec: Int |
meter |
val meter: Meter |
networkInterface |
val networkInterface: String |
path |
val path: String |
port |
val port: Int |
repository |
val repository: RelationalPeerRepository |
start |
fun start(): Deferred<Unit> |
stop |
fun stop(): Deferred<Unit?> |