Skip to content

Commit 4217a5e

Browse files
committed
fix a link
1 parent 8fd8d95 commit 4217a5e

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

R/nanonext-package.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
#' nanonext on CRAN: \url{https://cran.r-project.org/package=nanonext}
8585
#'
8686
#' NNG website: \url{https://nng.nanomsg.org/} \cr
87-
#' Mbed TLS website: \url{https://tls.mbed.org/}
87+
#' Mbed TLS website: \url{https://www.trustedfirmware.org/projects/mbed-tls/}
8888
#'
8989
#' @encoding UTF-8
9090
#' @author Charlie Gao \email{charlie.gao@@shikokuchuo.net}

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ nanonext on CRAN: <https://cran.r-project.org/package=nanonext><br />
492492
Package website: <https://shikokuchuo.net/nanonext/><br />
493493

494494
NNG website: <https://nng.nanomsg.org/><br />
495-
Mbed TLS website: <https://tls.mbed.org/><br />
495+
Mbed TLS website: <https://www.trustedfirmware.org/projects/mbed-tls/><br />
496496

497497
[&laquo; Back to ToC](#table-of-contents)
498498

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ aio
384384
#> < recvAio >
385385
#> - $data for message data
386386
aio$data |> str()
387-
#> num [1:100000000] 1.783 0.185 1.083 0.849 0.801 ...
387+
#> num [1:100000000] -0.842 1.729 -1.326 0.757 0.424 ...
388388
```
389389

390390
As `call_aio()` is blocking and will wait for completion, an alternative
@@ -543,11 +543,11 @@ ncurl("https://httpbin.org/headers")
543543
#> [1] 7b 0a 20 20 22 68 65 61 64 65 72 73 22 3a 20 7b 0a 20 20 20 20 22 48 6f 73
544544
#> [26] 74 22 3a 20 22 68 74 74 70 62 69 6e 2e 6f 72 67 22 2c 20 0a 20 20 20 20 22
545545
#> [51] 58 2d 41 6d 7a 6e 2d 54 72 61 63 65 2d 49 64 22 3a 20 22 52 6f 6f 74 3d 31
546-
#> [76] 2d 36 33 31 31 32 62 32 30 2d 33 31 39 35 33 31 38 35 35 66 61 36 33 36 62
547-
#> [101] 30 32 62 34 37 62 37 63 38 22 0a 20 20 7d 0a 7d 0a
546+
#> [76] 2d 36 33 31 31 33 35 63 34 2d 31 35 38 63 32 32 33 64 32 66 63 64 33 37 62
547+
#> [101] 33 31 37 62 34 34 62 33 35 22 0a 20 20 7d 0a 7d 0a
548548
#>
549549
#> $data
550-
#> [1] "{\n \"headers\": {\n \"Host\": \"httpbin.org\", \n \"X-Amzn-Trace-Id\": \"Root=1-63112b20-319531855fa636b02b47b7c8\"\n }\n}\n"
550+
#> [1] "{\n \"headers\": {\n \"Host\": \"httpbin.org\", \n \"X-Amzn-Trace-Id\": \"Root=1-631135c4-158c223d2fcd37b317b44b35\"\n }\n}\n"
551551
```
552552

553553
For advanced use, supports additional HTTP methods such as POST or PUT.
@@ -566,13 +566,13 @@ res
566566

567567
call_aio(res)$headers
568568
#> $Date
569-
#> [1] "Thu, 01 Sep 2022 21:58:57 GMT"
569+
#> [1] "Thu, 01 Sep 2022 22:44:20 GMT"
570570
#>
571571
#> $Server
572572
#> [1] "gunicorn/19.9.0"
573573

574574
res$data
575-
#> [1] "{\n \"args\": {}, \n \"data\": \"{\\\"key\\\": \\\"value\\\"}\", \n \"files\": {}, \n \"form\": {}, \n \"headers\": {\n \"Authorization\": \"Bearer APIKEY\", \n \"Content-Length\": \"16\", \n \"Content-Type\": \"application/json\", \n \"Host\": \"httpbin.org\", \n \"X-Amzn-Trace-Id\": \"Root=1-63112b21-1018c937316c24cb11110b8a\"\n }, \n \"json\": {\n \"key\": \"value\"\n }, \n \"origin\": \"185.225.45.49\", \n \"url\": \"http://httpbin.org/post\"\n}\n"
575+
#> [1] "{\n \"args\": {}, \n \"data\": \"{\\\"key\\\": \\\"value\\\"}\", \n \"files\": {}, \n \"form\": {}, \n \"headers\": {\n \"Authorization\": \"Bearer APIKEY\", \n \"Content-Length\": \"16\", \n \"Content-Type\": \"application/json\", \n \"Host\": \"httpbin.org\", \n \"X-Amzn-Trace-Id\": \"Root=1-631135c4-55622abd3b66c27e03b8a133\"\n }, \n \"json\": {\n \"key\": \"value\"\n }, \n \"origin\": \"185.225.45.49\", \n \"url\": \"http://httpbin.org/post\"\n}\n"
576576
```
577577

578578
In this respect, it may be used as a performant and lightweight method
@@ -615,10 +615,10 @@ s |> send('{"action": "subscribe", "symbols": "EURUSD"}')
615615
#> [26] 73 79 6d 62 6f 6c 73 22 3a 20 22 45 55 52 55 53 44 22 7d 00
616616

617617
s |> recv(keep.raw = FALSE)
618-
#> [1] "{\"s\":\"EURUSD\",\"a\":0.99499,\"b\":0.99426,\"dc\":\"-0.8844\",\"dd\":\"-0.0088\",\"ppms\":false,\"t\":1662069549000}"
618+
#> [1] "{\"s\":\"EURUSD\",\"a\":0.99456,\"b\":0.99452,\"dc\":\"-0.9280\",\"dd\":\"-0.0092\",\"ppms\":false,\"t\":1662072262000}"
619619

620620
s |> recv(keep.raw = FALSE)
621-
#> [1] "{\"s\":\"EURUSD\",\"a\":0.99474,\"b\":0.99454,\"dc\":\"-0.9098\",\"dd\":\"-0.0091\",\"ppms\":false,\"t\":1662069549000}"
621+
#> [1] "{\"s\":\"EURUSD\",\"a\":0.99455,\"b\":0.99453,\"dc\":\"-0.9291\",\"dd\":\"-0.0092\",\"ppms\":false,\"t\":1662072262000}"
622622

623623
close(s)
624624
```
@@ -654,7 +654,7 @@ nanonext on CRAN: <https://cran.r-project.org/package=nanonext><br />
654654
Package website: <https://shikokuchuo.net/nanonext/><br />
655655

656656
NNG website: <https://nng.nanomsg.org/><br /> Mbed TLS website:
657-
<https://tls.mbed.org/><br />
657+
<https://www.trustedfirmware.org/projects/mbed-tls/><br />
658658

659659
[« Back to ToC](#table-of-contents)
660660

man/nanonext-package.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)