Move most of the net
collection out of the core.
- Most units and signatures from the `net` collection
are now in `compatibility-lib`.
- Most of the actual libraries are in the `net-lib`
package.
original commit: 2b1fb036c6
This commit is contained in:
parent
a8b472d4c4
commit
e6275c3b69
4
pkgs/net-lib/info.rkt
Normal file
4
pkgs/net-lib/info.rkt
Normal file
|
@ -0,0 +1,4 @@
|
|||
#lang setup/infotab
|
||||
|
||||
(define collection 'multi)
|
||||
(define deps '("base"))
|
|
@ -1,6 +1,6 @@
|
|||
#lang racket/base
|
||||
|
||||
(require "uri-codec.rkt")
|
||||
(require net/uri-codec)
|
||||
|
||||
(provide
|
||||
|
|
@ -351,5 +351,3 @@
|
|||
|
||||
(define (valid-path? v)
|
||||
(and (string? v) (rfc2109:value? v)))
|
||||
|
||||
;;; cookie-unit.rkt ends here
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#lang racket/base
|
||||
|
||||
(require racket/port "mime-util.rkt" "qp.rkt" "base64.rkt" "head.rkt")
|
||||
(require racket/port "mime-util.rkt" "qp.rkt" net/base64 net/head)
|
||||
|
||||
(provide
|
||||
;; -- exceptions raised --
|
|
@ -1,6 +1,6 @@
|
|||
#lang racket/base
|
||||
|
||||
(require racket/tcp "base64.rkt")
|
||||
(require racket/tcp net/base64)
|
||||
|
||||
(provide smtp-sending-server
|
||||
smtp-send-message
|
|
@ -1,6 +1,6 @@
|
|||
#lang racket/base
|
||||
(provide make-ssl-tcp@)
|
||||
(require racket/unit "tcp-sig.rkt" openssl/mzssl)
|
||||
(require racket/unit net/tcp-sig openssl/mzssl)
|
||||
|
||||
(define (make-ssl-tcp@
|
||||
server-cert-file server-key-file server-root-cert-files
|
|
@ -178,6 +178,10 @@ won't have a cookie set then first arrive at your site.
|
|||
|
||||
@section{Cookie Unit}
|
||||
|
||||
@margin-note{@racket[cookie@] and @racket[cookie^] are deprecated.
|
||||
They exist for backward-compatibility and will likely be removed in
|
||||
the future. New code should use the @racketmodname[net/cookie] module.}
|
||||
|
||||
@defmodule[net/cookie-unit]
|
||||
|
||||
@defthing[cookie@ unit?]{
|
||||
|
|
Loading…
Reference in New Issue
Block a user