Skip to content

Commit

Permalink
Example of new configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
osipxd committed Nov 19, 2024
1 parent 6b1c2e7 commit ef2ad1e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
11 changes: 6 additions & 5 deletions ktor-http/ktor-http-cio/jvm/src/io/ktor/http/cio/Multipart.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ package io.ktor.http.cio

import io.ktor.http.cio.internals.*
import io.ktor.utils.io.*
import io.ktor.utils.io.ByteString
import io.ktor.utils.io.core.*
import kotlinx.coroutines.*
import kotlinx.coroutines.channels.*
import kotlinx.io.*
import kotlinx.io.bytestring.*
import kotlinx.coroutines.channels.ReceiveChannel
import kotlinx.coroutines.channels.produce
import kotlinx.io.IOException
import kotlinx.io.Source
import kotlinx.io.bytestring.ByteString
import java.io.EOFException
import java.nio.*
import java.nio.ByteBuffer

/**
* Represents a multipart content starting event. Every part need to be completely consumed or released via [release]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
/*
* Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
* Copyright 2014-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/

package io.ktor.http.cio

import io.ktor.http.*
import io.ktor.utils.io.*
import io.ktor.utils.io.core.*
import kotlinx.io.*
import java.nio.*
import kotlinx.io.Source
import java.nio.ByteBuffer

/**
* Builds an HTTP request or response
Expand Down

0 comments on commit ef2ad1e

Please sign in to comment.