-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
In #26 issue it became possible to switch on dynamic HTTP headers in Ktor adapters. But by default this feature is disabled. It would be great to enable dynamic HTTP headers by default in Kobby 2.0 release.
Attention! It is breaking change!!! To return to previous settings, use:
Gradle:
plugins {
kotlin("jvm")
id("io.github.ermadmi78.kobby")
}
kobby {
kotlin {
adapter {
ktor {
dynamicHttpHeaders = false
}
}
}
}
Maven:
<build>
<plugins>
<plugin>
<groupId>io.github.ermadmi78</groupId>
<artifactId>kobby-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>generate-kotlin</goal>
</goals>
<configuration>
<kotlin>
<adapter>
<ktor>
<dynamicHttpHeaders>false</dynamicHttpHeaders>
</ktor>
</adapter>
</kotlin>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request