Skip to content
#

ktor

Here are 345 public repositories matching this topic...

IRus
IRus commented Dec 6, 2019

Use case:

class MetricsServiceProvider(
    private val configuration: Configuration,
    private val shutdownManager: ShutdownManager
) : Provider<MetricsService> {
    ovveride fun get(): MetricsService {
        //.. code that initializes and setups MetricsService
    }
}

I moved service initialization in class with dependencies, I'd like to do something like this:

robert-cronin
robert-cronin commented Jan 14, 2020

Is it possible to add the Onsen UI framework to KVision as an optional dependency? I don't mind creating the wrapper but I've never done much with the virtual DOM in KVision, I might need some pointers to get started or perhaps a suggestion on which existing dependency I could use as a template.

It looks like most of the functionality is in custom tags.

This is for our

zilluss
zilluss commented Apr 29, 2020

I tried the kotlinx serialization example from the docs: https://ktor.io/servers/features/content-negotiation/serialization-converter.html

Upon using the example I get a deprecation warning for the „serialization(...“ Block because it has been replaced by json.
Second the example does not work. In contrast, the gson example works perfectly fine.
Either fix or remove the section, so other peo

uuf6429
uuf6429 commented Apr 19, 2020

I really like this project, however, not only is documentation lacking, but the examples seem broken/half-baked (eg TestServer.kt's APIPrincipal) and some usages are far from understandable.

For example, I just (literally) got a headache trying to understand how the StatusPages syntax works.

Let's give the original usage a look:

exception<Throwable> { cause ->      // easy,

Improve this page

Add a description, image, and links to the ktor topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ktor topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.