This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const http2 = require('http2'); | |
try { | |
const api_host = "https://localhost:8080"; | |
const client = http2.connect(api_host); | |
const path = "/my_endpoint"; | |
const api_key = "ffff-eee-ddd"; | |
const write_request = [1, 2, 3, 4, 5]; | |
const req = client.request({ | |
[http2.constants.HTTP2_HEADER_SCHEME]: "https", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am zhrebicek on github. | |
* I am zdenal (https://keybase.io/zdenal) on keybase. | |
* I have a public key ASAuiwFaWmnOO6radH04oAho76Icm116QwDVv4989K911Ao | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<code_scheme name="scala-code-style"> | |
<option name="LINE_SEPARATOR" value="
" /> | |
<option name="RIGHT_MARGIN" value="80" /> | |
<option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="true" /> | |
<ScalaCodeStyleSettings> | |
<option name="importLayout"> | |
<array> | |
<option value="java" /> | |
<option value="javax" /> | |
<option value="_______ blank line _______" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
style = default | |
maxColumn = 100 | |
lineEndings = unix | |
encoding = UTF-8 | |
continuationIndent.defnSite = 4 | |
continuationIndent.extendSite = 2, | |
align.openParenDefnSite = false | |
align.openParenCallSite = false | |
align.tokens = [] | |
newlines.alwaysBeforeTopLevelStatements = false |