Skip to content

Commit 9b624ac

Browse files
committed
gzip init
1 parent 523dba9 commit 9b624ac

File tree

1 file changed

+3
-4
lines changed
  • runtime/runtime-core/native/src/aws/smithy/kotlin/runtime/compression

1 file changed

+3
-4
lines changed

runtime/runtime-core/native/src/aws/smithy/kotlin/runtime/compression/GzipNative.kt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
package aws.smithy.kotlin.runtime.compression
66

77
import aws.smithy.kotlin.runtime.content.ByteStream
8+
import platform.zlib.*
89

910
/**
1011
* The gzip compression algorithm.
@@ -13,10 +14,8 @@ import aws.smithy.kotlin.runtime.content.ByteStream
1314
* See: https://en.wikipedia.org/wiki/Gzip
1415
*/
1516
public actual class Gzip : CompressionAlgorithm {
16-
actual override val id: String
17-
get() = TODO("Not yet implemented")
18-
actual override val contentEncoding: String
19-
get() = TODO("Not yet implemented")
17+
actual override val id: String = "gzip"
18+
actual override val contentEncoding: String = "gzip"
2019

2120
actual override fun compress(stream: ByteStream): ByteStream {
2221
TODO("Not yet implemented")

0 commit comments

Comments
 (0)