mirror of
https://github.com/openflocon/Flocon.git
synced 2026-05-14 10:10:47 +00:00
Refact network model (#123)
* refact: [NETWORK] model with error * refact: [NETWORK] model with error * refact: [NETWORK] model with error * refact: [NETWORK] model with error * refact: [NETWORK] model with error * refact * merged with main --------- Co-authored-by: Florent Champigny <florent@bere.al>
This commit is contained in:
parent
db3c8a118c
commit
35d896af23
31 changed files with 571 additions and 504 deletions
|
|
@ -2,11 +2,8 @@ package io.github.openflocon.flocon.plugins.network
|
|||
|
||||
import io.github.openflocon.flocon.core.FloconPlugin
|
||||
import io.github.openflocon.flocon.plugins.network.model.BadQualityConfig
|
||||
import io.github.openflocon.flocon.plugins.network.model.FloconNetworkCall
|
||||
import io.github.openflocon.flocon.plugins.network.model.FloconNetworkCallRequest
|
||||
import io.github.openflocon.flocon.plugins.network.model.FloconNetworkCallResponse
|
||||
import io.github.openflocon.flocon.plugins.network.model.FloconNetworkRequest
|
||||
import io.github.openflocon.flocon.plugins.network.model.FloconNetworkResponse
|
||||
import io.github.openflocon.flocon.plugins.network.model.MockNetworkResponse
|
||||
|
||||
interface FloconNetworkPlugin : FloconPlugin {
|
||||
|
|
|
|||
|
|
@ -25,4 +25,5 @@ data class FloconNetworkResponse(
|
|||
val body: String?,
|
||||
val size: Long?,
|
||||
val headers: Map<String, String>,
|
||||
val error: String?,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue