func AwaitEOF(s core.Stream) error {
	return helpers.AwaitEOF(s)
}
Deprecated: use github.com/libp2p/go-libp2p-core/helpers.AwaitEOF instead.
package net
import (
	"context"
	"time"
	"github.com/libp2p/go-libp2p-core/helpers"
	core "github.com/libp2p/go-libp2p-core/network"
)
const MessageSizeMax = core.MessageSizeMax
type Stream = core.Stream
type Direction = core.Direction
const (
	DirUnknown = core.DirUnknown
	DirInbound = core.DirInbound
	DirOutbound = core.DirOutbound
)
type Stat = core.Stat
type StreamHandler = core.StreamHandler
type ConnSecurity = core.ConnSecurity
type ConnMultiaddrs = core.ConnMultiaddrs
type Conn = core.Conn
type ConnHandler = core.ConnHandler
type Network = core.Network
var ErrNoRemoteAddrs = core.ErrNoRemoteAddrs
var ErrNoConn = core.ErrNoConn
type Dialer = core.Dialer
type Connectedness = core.Connectedness
const (
	NotConnected = core.NotConnected
	Connected = core.Connected
	CanConnect = core.CanConnect
	CannotConnect = core.CannotConnect
)
type Notifiee = core.Notifiee
type NotifyBundle = core.NotifyBundle
func WithNoDial(ctx context.Context, reason string) context.Context {
	return core.WithNoDial(ctx, reason)
}
func GetNoDial(ctx context.Context) (nodial bool, reason string) {
	return core.GetNoDial(ctx)
}
var EOFTimeout = helpers.EOFTimeout
var ErrExpectedEOF = helpers.ErrExpectedEOF
func FullClose(s core.Stream) error {
	return helpers.FullClose(s)
}